Skip to content
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

[BUG] JSQLParser Version : 4.7 : sqlserver insert bulk sql failed! #2033

Open
jisongxi opened this issue Jul 5, 2024 · 0 comments
Open

[BUG] JSQLParser Version : 4.7 : sqlserver insert bulk sql failed! #2033

jisongxi opened this issue Jul 5, 2024 · 0 comments
Labels
DML MS SQL Server MS SQL Server specific feature Sponsor needed

Comments

@jisongxi
Copy link

jisongxi commented Jul 5, 2024

maven dependence:

com.github.jsqlparser jsqlparser 4.7

sqlServer sql:

insert bulk tpch.dbo.order_line([ol_o_id] int,[ol_d_id] tinyint,[ol_w_id] int,[ol_number] tinyint,[ol_i_id] int, [ol_delivery_d] datetime,[ol_amount] smallmoney,[ol_supply_w_id] int,[ol_quantity] smallint,[ol_dist_info] char(24) collate Chinese_PRC_CI_AS)with(ROWS_PER_BATCH=500000)

Failing SQL Feature:

sqlserver insert bulk ` can't be parsed

Software Information:

image

net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "." "."
at line 1, column 17.

Was expecting one of:

"("
"OUTPUT"
"SET"
"VALUE"
"VALUES"
"WITH"
<K_SELECT>
@manticore-projects manticore-projects added DML Sponsor needed MS SQL Server MS SQL Server specific feature labels Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DML MS SQL Server MS SQL Server specific feature Sponsor needed
Projects
None yet
Development

No branches or pull requests

2 participants