We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi @godfreyhe I have extended "ShowCreateTableOperation" operator Here is a sample Request: { "statement":"show create table my_table"}
{ "statement":"show create table my_table"}
Response: { "results": [ { "result_kind": "SUCCESS_WITH_CONTENT", "columns": [ { "name": "dql", "type": "VARCHAR(1)"} ], "data": [ [ "CREATE TABLE xxx(batch_timeTIMESTAMP(3),num BIGINT, PRIMARY KEY (batch_time) NOT ENFORCED) WITH('connector'='jdbc', 'password'='xxxx', 'table-name'='my_table', 'url'='jdbc:mysql://127.0.0.1:3306/mydb?characterEncoding=UTF-8&useUnicode=true&useSSL=false', 'username'='user')" ] ] } ], "statement_types": [ "SHOW_CREATE_TABLE" ] }
{ "results": [ { "result_kind": "SUCCESS_WITH_CONTENT", "columns": [ { "name": "dql", "type": "VARCHAR(1)"} ], "data": [ [ "CREATE TABLE
(
TIMESTAMP(3),
BIGINT, PRIMARY KEY (
) NOT ENFORCED) WITH('connector'='jdbc', 'password'='xxxx', 'table-name'='my_table', 'url'='jdbc:mysql://127.0.0.1:3306/mydb?characterEncoding=UTF-8&useUnicode=true&useSSL=false', 'username'='user')" ] ] } ], "statement_types": [ "SHOW_CREATE_TABLE" ] }
can I have a pull request? Thanks.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi @godfreyhe I have extended "ShowCreateTableOperation" operator
Here is a sample
Request:
{ "statement":"show create table my_table"}
Response:
{ "results": [ { "result_kind": "SUCCESS_WITH_CONTENT", "columns": [ { "name": "dql", "type": "VARCHAR(1)"} ], "data": [ [ "CREATE TABLE
xxx(
batch_timeTIMESTAMP(3),
numBIGINT, PRIMARY KEY (
batch_time) NOT ENFORCED) WITH('connector'='jdbc', 'password'='xxxx', 'table-name'='my_table', 'url'='jdbc:mysql://127.0.0.1:3306/mydb?characterEncoding=UTF-8&useUnicode=true&useSSL=false', 'username'='user')" ] ] } ], "statement_types": [ "SHOW_CREATE_TABLE" ] }
can I have a pull request? Thanks.
The text was updated successfully, but these errors were encountered: