GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — Exasol: IMPORT/EXPORT by ssteinhauser · Pull Request #2256 · JSQLParser/JSqlParser Conversation
Contributor
This PR adds support for Exasols IMPORT and EXPORT statements: The JMH benchmark looks good on my machine:
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsImplement Exasol EXPORT statement (see https://docs.exasol.com/db/latest/sql/export.htm)
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
ssteinhauser
force-pushed
the
feature/exasol-import-export
branch
from
4db2a71 to
40f916d
Compare
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
Example: line 4663/4664 could be changed into: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You have introduced new tokens Beside that we are good to merge! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Greetings! I have added already a new Feature for |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Thank you very much for your support and effort on this. I've implemented the feature flag for EXPORT and IMPORT statements including the Furthermore, I've added tests for RTRIM and LTRIM functions in order to ensure, there is no clash between the keywords and usage of functions (see 3b74289). If you don't have any further suggestions or concerns, we are good to merge from my point of view. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
3a0438c to
82e2f78
Compare
|
Thank you very much, excellent work and I am going to merge this. Interestingly, the performance deterioration is all about the addition tokens and the white listing of such tokens for Object Identifiers. Your productions have no impact. So in the future I will need to look for a way to reduce those tokens again (especially any token used less than 3 times in the grammar). Also, the |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
`ERRORS` was declared in the reserved keyword block when the Exasol IMPORT/EXPORT error clauses were added (#2256), so 5.4 rejects queries using it as a name, e.g. `SELECT errors FROM t` or a `WITH errors AS (...)` CTE, which DuckDB, PostgreSQL and most databases accept. Its only uses, `ERRORS INTO ...` and `REJECT LIMIT n ERRORS`, are behind lookaheads, so it moves to the non-reserved keywords next to `ERROR`. The Exasol IMPORT/EXPORT tests still pass. Co-authored-by: Jules Ivanic <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.