-
Notifications
You must be signed in to change notification settings - Fork 545
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsupported data type: JSON #1023
Comments
Hi @aarcha123, thanks for the report. It looks like now ClickHouse supports string format JSON object, which is way better than constructing a complex object in client. I'll update data type mapping accordingly in next release. Meanwhile, the workaround is simply change |
Thank you @zhicwu |
@zhicwu Hi, I encounter this exception when I want to select JSON data type. My code: String sql = "SELECT id,text,embedding,metadata, dist " +
"FROM table ORDER BY cosineDistance(embedding, [0.1, 0.2, 0.3]) AS dist ASC LIMIT 1000";
Records records = client.queryRecords(sql).get(3000, TimeUnit.MILLISECONDS) And I have setting Dependency: client-v2: 0.7.0 |
@Martin7-1 can you open a dedicated issue for it. |
Duplicate of #1833 |
Using the below snippet results in "Unsupported data type: JSON:" using 0.3.2.patch11
Table definition
Stack trace:
The text was updated successfully, but these errors were encountered: