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

ENG-7840 fix null in indexed expressions, add fullDDL cases for this and... #2108

Merged
merged 2 commits into from
Mar 17, 2015

Conversation

paulmartel
Copy link
Contributor

... for volt sql functions

@paulmartel
Copy link
Contributor Author

NULL had been getting quoted as "NULL" in the canonical DDL.

paulmartel added a commit that referenced this pull request Mar 17, 2015
ENG-7840 fix null in indexed expressions, add fullDDL cases for this and...
@paulmartel paulmartel merged commit 9bcda87 into master Mar 17, 2015
CREATE INDEX ENG7792_INDEX_USES_CONCAT ON T55 (CONCAT(SUBSTRING(STR,4), SUBSTRING(STR,1,3)));
CREATE INDEX ENG7792_INDEX_USES_BARBARCONCAT ON T55 (SUBSTRING(STR,5) || SUBSTRING(STR,1,3));
-- ENG-7840 Make sure that a NULL constant survives DDL roundtripping.
CREATE INDEX ENG7840_INDEX_USES_NULL ON T55 (DECODE(STR, NULL, 'NULLISH', STR));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's nice to see these tests, looks good to me.

@voltdbci voltdbci deleted the ENG-7840-indexed-expr-using-null branch April 17, 2015 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants