Comments (12)
Sorry,不支持,刚知道新增了个JSON类型;
当前有个Map类型,不知道能否满足需求,具体看下readme;
最近没时间,过段才能去开发支持这个类型;
from flink-connector-clickhouse.
好的,谢谢你,那请问一下ROW能映射成map吗?
from flink-connector-clickhouse.
@jetliu1711
Sorry,上一句没说太明白;
ROW没办法直接映射到Map,本身两个类型都不兼容;
如果你的ROW结构是类似Map<String, FixedType>
这种,那你可以直接写个UDF函数,对该列做ROW到Map的转换;
如果ROW中类型比较多样,可以将单列拆分为多列分别存储,写个UDTF;
from flink-connector-clickhouse.
@jetliu1711 Sorry,上一句没说太明白; ROW没办法直接映射到Map,本身两个类型都不兼容; 如果你的ROW结构是类似
Map<String, FixedType>
这种,那你可以直接写个UDF函数,对该列做ROW到Map的转换; 如果ROW中类型比较多样,可以将单列拆分为多列分别存储,写个UDTF;
我这边Row有很多列的情况,map实现不了,因为拆分开来的字段太多了,想存个类似json类型的数据,我在想想办法,谢谢你。
from flink-connector-clickhouse.
@jetliu1711 Sorry,上一句没说太明白; ROW没办法直接映射到Map,本身两个类型都不兼容; 如果你的ROW结构是类似
Map<String, FixedType>
这种,那你可以直接写个UDF函数,对该列做ROW到Map的转换; 如果ROW中类型比较多样,可以将单列拆分为多列分别存储,写个UDTF;我这边Row有很多列的情况,map实现不了,因为拆分开来的字段太多了,想存个类似json类型的数据,我在想想办法,谢谢你。
你好,兄弟,你给的那个maven下载路径,包找不到。
from flink-connector-clickhouse.
没deploy maven**仓;
得自己手动打包mvn clean package -DskipTests
from flink-connector-clickhouse.
没deploy maven**仓; 得自己手动打包
mvn clean package -DskipTests
好的,兄弟,在请教一个问题哈,是不是用jdbc也不支持json数据类型的写入?
from flink-connector-clickhouse.
flink-connector-jdbc 好像复合类型都不支持;
clickhouse-jdbc是支持所有类型的;
最后幸苦给个star吧,谢谢。
from flink-connector-clickhouse.
flink-connector-jdbc 好像复合类型都不支持; clickhouse-jdbc是支持所有类型的; 最后幸苦给个star吧,谢谢。
嗯嗯,好的,兄弟,刚才下载咱们master分支,非常慢,兄弟有编译的好jar吗?百度云啥的?
from flink-connector-clickhouse.
flink-connector-jdbc 好像复合类型都不支持; clickhouse-jdbc是支持所有类型的; 最后幸苦给个star吧,谢谢。
嗯嗯,好的,兄弟,刚才下载咱们master分支,非常慢,兄弟有编译的好jar吗?百度云啥的?
你好,兄弟,为啥我下载的是1.13的flink版本,pom.xml里面引用的是1.14.3的flink。修改pom文件的flink_version还报错。
from flink-connector-clickhouse.
- 国内github页面访问确实不稳定,直接git checkout 应该好点;
- 用1.13版本可以切换到 release-1.13分支;直接修改master的flink version也是可行的,不过得修复个编译问题,这个是flink包变更导致的;
from flink-connector-clickhouse.
好的,谢谢你。
from flink-connector-clickhouse.
Related Issues (20)
- 最新的1.71需要jdk11吗?用jdk8报错了 HOT 1
- flink-connector-clickhouse里面的sink怎么使用?有例子吗? HOT 2
- java.lang.ClassCastException: class java.lang.Boolean cannot be cast to class java.lang.Number HOT 7
- I cannot use OPTION 'properties.*'. HOT 4
- Execution default of goal io.github.zentol.japicmp:japicmp-maven-plugin:0.16.0_m325:cmp failed: version can neither be null, empty nor blank HOT 2
- Add Apache Listen to File hard
- sink exception e.flink.connector.clickhouse.internal.ClickHouseBatchOutputFormat HOT 3
- how to pack a fat jar HOT 1
- 有人编译成功么,可以分享下么 HOT 1
- 使用flink 版本是1.19 flink cdc 时报错了,应该是序列化的问题 Caused by: java.lang.ClassNotFoundException: org.apache.flink.connector.clickhouse.internal.ClickHouseBatchOutputFormat HOT 4
- Support URLs with query params HOT 3
- Add issues And pull template to project
- [Bug]: Unit test error cause CI building failure
- [Bug]: not set Clickhouse userName and password have npe
- [Bug]: UInt Type Not Supprot to Read Or Write HOT 2
- [Feature]: Add Flink Clickhouse QuickStart For Read Or Write Data
- [Feature]: Support Unit5 Test For Clickhouse Connector
- flink1.17.2 clickhouse catalog集成kafka 报错:创建kafka表时报错 HOT 2
- [Bug]: 经常出现刷新异常 HOT 4
- [Enhance]: Ensure Consistency of Database and Parameters in Newly Created ClickHouse JDBC Connections HOT 2
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 flink-connector-clickhouse.