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
raw = ''' CREATE TABLE `t_customer_account` ( `id` int, `customer_id` int, `bank` varchar(100), `account_no` varchar(100) ); ''' parsed = sqlglot.parse(raw, sqlglot.dialects.MySQL)
I got error:
ParseError: Expected ). Line 2, Col: 7. CREATE TABLE `t_customer_account` ( `id` int, `customer_id` int, `bank` varchar(100), `a
sqlglot version: v1.3.2
The text was updated successfully, but these errors were encountered:
working on a solution, should have something by tonight, i need to also handle complex types like map<> and struct
Sorry, something went wrong.
1d4152f
it has been solved, but, another sql failed:
CREATE TABLE `t_customer_account` ( `id` int(11) NOT NULL AUTO_INCREMENT, `customer_id` int(11) DEFAULT NULL COMMENT '客户id', `bank` varchar(100) COLLATE utf8_bin DEFAULT NULL COMMENT '行别', `account_no` varchar(100) COLLATE utf8_bin DEFAULT NULL COMMENT '账号', PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='客户账户表';
No branches or pull requests
I got error:
sqlglot version: v1.3.2
The text was updated successfully, but these errors were encountered: