shadowDy opened a new issue #14864:
URL: https://github.com/apache/superset/issues/14864


   Using the upload CSV function of superset, when the table does not exist, 
the CREATE TABLE statement will be executed.
   
   However, when the linked cluster is a Clickhouse cluster, there is no engine 
parameter in the statement received by the Clickhouse server, resulting in 
creation failure and import failure.
   
   Expected create statement:
   
   create table if NOT exists test_ upload(`idc` String,`app` String) ENGINE = 
MergeTree() PARTITION BY idc ORDER BY (app) SETTINGS index_ granularity = 8192
   
   Statement actually received:
   
   CREATE TABLE test_ upload1 ( "idc app" TEXT ) FORMAT 
TabSeparatedWithNamesAndTypes
   
   Missing type and engine.
   
   How to solve this problem.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to