Skip to content

Conversation

@finchxxia
Copy link

  1. I found that datafusion-sqlparser-rs cannot support multi-table insert currently.
-- Unconditional multi-table insert
INSERT [ OVERWRITE ] ALL
  intoClause [ ... ]
<subquery>

-- Conditional multi-table insert
INSERT [ OVERWRITE ] { FIRST | ALL }
  { WHEN <condition> THEN intoClause [ ... ] }
  [ ... ]
  [ ELSE intoClause ]
<subquery>
  1. Another case is when I using SAMPLE in subquery, it cannot work normally.
SELECT * FROM (SELECT * FROM (select report_from from my_table) SAMPLE (10000 ROWS)) AS anon_1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant