-
Notifications
You must be signed in to change notification settings - Fork 156
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
[FLINK-36271] Support reading json and jsonb types in PostgreSQL dialect #141
base: main
Are you sure you want to change the base?
Conversation
@grzegorz8 |
I'm sorry but there are still one issue with this change, namely, cratedb depends on postgres module and the following error is thrown in tests:
However, the build will succeed if you skip tests. |
@grzegorz8 Which I need to include in code:
Not working.. |
Hey @matriv! Since you are the author of CrateDB support (#29) maybe you can suggest me how to deal with the error shown above? Thanks in advance. |
@grzegorz8 How do you get this error, is it from inside IntelliJ, or by running
|
@matriv I think Please run the CrateDB tests in Intellij. Maybe let me clarify why I'm asking you for help. Namely, I modified postgresql dialect to support jsonb format. While running tests I noticed that crateDB inherits from postgresql dialect, but it does not work well with my change ( |
f6bb86f
to
792679a
Compare
792679a
to
2a03cf5
Compare
When using PostgreSQL JDBC Catalog an error is thrown if any of the tables has column of type
json
orjsonb
.json
/jsonb
field is returned asVARCHAR
when reading the data.insert into ...
) tojson
/jsonb
column is not allowed in current design.