Replies: 1 comment 1 reply
-
Can you show the schema of |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to create a table directly using the schema from an ibis dataframe?
I've built a dataframe with ibis: df_play. I wanted to directly use df_play's schema to create a table in the database, but it failed:
con2.create_table('algo_play', schema=df_play.schema())
Error message:
DatabaseError: HTTPDriver for http://cc-j6c9l15edn66o817k.public.clickhouse.ads.aliyuncs.com:8123/ returned response code 400) Code: 62. DB::Exception: Syntax error: failed at position 620 (end of query) (line 19, col 12): . Expected one of: token, Arrow, DoubleColon, non-empty parenthesized list of expressions, end of query. (SYNTAX_ERROR) (version 22.8.5.29)
Beta Was this translation helpful? Give feedback.
All reactions