-
Notifications
You must be signed in to change notification settings - Fork 8
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
error in api tutorial (is_nullable) #143
Comments
It works if you use |
Good catch! should be "False" of course. I will update this in the API tutorial series. |
Cool, thanks a lot. If you update the tutorial, I have something else that you may want to include and is currently not documented, as far as i could see: to add (single columns) foreign keys with create table api request, you cannot use the {
"name": "SOME_COLUMN_NAME",
"data_type": "SOME_DATA_TYPE",
"foreign_key": [{
"table": "SCHEMA.REFERENCED_TABLE",
"column": "REFERENCED_COLUMN"
}]
} |
then we should also update the oep api readthedocs? I will include/update this in the tutorial 👍 |
Not sure if this was updated in the "old tutorials", looking at our currently offered courses / tutorials i cant find any foreign_key references. |
According to multiple tutorials, columns can be configured to not allow NULL values by adding
"is_nullable": "NO"
in the definition.This does not work.
Here is a complete example. I create a table and upload an empty record, then retrieve the data and get a record with a NULL value (None)
The text was updated successfully, but these errors were encountered: