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
Support not-null constraints #125
Comments
beside note: |
@amitvc this could be a good starting point. |
I will start work on this starting today. |
@amitvc
for DDL we are using jsqlparser and not Calcite (it is not directly actually supporteb by Calcite) You can start checking tests in The first step is to differenziate NULLABLE data types from NOT_NULLABLE data types here: for instance current 'STRING' data type will become NULLABLE_STRING, and you will introduce NOT_NULLABLE_STRING |
I will write more ideas this evening |
@eolivelli thanks for the input. |
@amitvc sorry for late reply. |
@eolivelli @amitvc this can be closed? |
I think so. This is merged into master. |
In the first implementation it is not needed to support 'NOT NULL' in ALTER TABLE DDL, because it would imply to check that the column is 'NOT NULL' for each record and this should be done in transaction with the DDL operation.
The text was updated successfully, but these errors were encountered: