Comments (3)
我的临时处理方案是在. JsonNode 解析为 RowData 之前, 把 JsonNode 中的 data 和 old 做 lowercase 处理. 但这样会影响性能, 期待有更好的处理方法.
//对 root.data 中的所有字段lowercase处理.
dataToLowerCase(root.get("data"));
//对 root.old 中的所有字段lowercase处理.
dataToLowerCase(root.get("old"));
如果我忽略了什么配置项. 也请指出. 谢谢.
from tibigdata.
The column name in TiDB is case-insensitive.
from tibigdata.
We use TiDB native client to get columns which will return us a TiTableInfo object, and the column names in TiTableInfo is lowercase. That's why we need to convert the column name to lowercase. If we use mysql driver to get columns names, we can get original column names rather than lowercase. We need some time to think about how to fix it.
from tibigdata.
Related Issues (20)
- [BUG] streaming mode with TiKV sink fail with int type column
- [BUG] Duplicate values for unique indexes
- [Proposal] Support generate auto_random rowID
- All of Trino's select statements about tidb cannot be used HOT 1
- IndexScan.Builder called a method that does not exist HOT 2
- [BUG] TiBigData's AutoRandom ID assignment implementation is inconsistent with the TiDB implementation
- [Enhancement] Flink-tidb-connector Flink-tidb-connector batch flush can add timeout determination
- Table db.table no longer exists in TiDB HOT 1
- [BUG] The cpu usage of task manager is very high based on TiDB Flink connector flink1.13 HOT 3
- [TiFlash] Introduces TiFlash Catalog to support integration with the metadata of TiFlash
- [TiFlash] Introduces TiFlash Source implementation to read the TiFlash data
- [Question] The release version is too old HOT 1
- 启动报错java.lang.IllegalArgumentException: No factory for connector tidb
- 高版本不兼容 HOT 2
- Tidb connector for trino 418
- trino-tidb-conn tikv-netty native memory leak
- [BUG] error when reading tidb using tikv connector in hive, Cannot parse "0000-00-00 00:00:00"
- Next generation of TiDB BigData Ecosystem Integrations HOT 2
- 支持 rowid 切分数据方案? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tibigdata.