-
Notifications
You must be signed in to change notification settings - Fork 104
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
Fixing 2439: Improve Copy Option Usability #4230
Conversation
Benchmark ResultMaster commit hash:
|
d93d187
to
fb8cac7
Compare
ef4ec49
to
e6fb471
Compare
Benchmark ResultMaster commit hash:
|
ff60c60
to
e1f95ce
Compare
038b5b8
to
a6be115
Compare
Benchmark ResultMaster commit hash:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good to me. Thanks!
Can u add some copy test cases for these changes? Also, please update our related docs on copy options and open an PR against the dev
branch here.
Will take another quick look after the changes.
bb47c53
to
6734273
Compare
The corresponding DOCS update PR: kuzudb/kuzu-docs#265 |
Benchmark ResultMaster commit hash:
|
Benchmark ResultMaster commit hash:
|
8aab3e0
to
b7b34b5
Compare
Benchmark ResultMaster commit hash:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see a test on DELIMITER
. Can u add a test on that too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, add it now
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #4230 +/- ##
==========================================
- Coverage 87.31% 86.74% -0.58%
==========================================
Files 1327 1327
Lines 51271 51593 +322
Branches 6884 6951 +67
==========================================
- Hits 44769 44756 -13
- Misses 6330 6665 +335
Partials 172 172 ☔ View full report in Codecov by Sentry. |
Benchmark ResultMaster commit hash:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks!
* enable 3 types of alternative boolean expression * make the grammar accept both SP and = for equation * replacing hash.md5 * enable default boolean value * change name to be reference * support both DELIM and DELIMITER as option name * Run clang-format * add DELIMITER * add test for boolean options * force to compile the grammar * Run clang-format * add compiled parser * skip grammar update * add omit_default and DELIMITER test --------- Co-authored-by: sterling <[email protected]> Co-authored-by: CI Bot <[email protected]> (cherry picked from commit 7c69437)
Description
Fixes 2439
This Makes our Copy Option to be more usable, now the options are compatible with the DuckDB syntax and simultaneously keep our original syntax.
We support multiple ways of expressing Boolean value (
0/1; on/off; true/false
), and also support both empty space and equation sign between the name of option and the value of option.We also support omitted boolean option value, which would be set to
true
as default.Contributor agreement