comphead commented on code in PR #6266: URL: https://github.com/apache/arrow-datafusion/pull/6266#discussion_r1186744824
########## docs/source/user-guide/sql/ddl.md: ########## @@ -156,6 +156,8 @@ CREATE [OR REPLACE] TABLE [IF NOT EXISTS] <b><i>table_name</i></b> AS [SELECT | ```sql CREATE TABLE IF NOT EXISTS valuetable AS VALUES(1,'HELLO'),(12,'DATAFUSION'); +CREATE TABLE IF NOT EXISTS valuetable (c1 INT NOT NULL, c2 VARCHAR NOT NULL) AS VALUES(1,'HELLO'),(12,'DATAFUSION'); Review Comment: perhaps its worth to mention that by default column is nullable? or amend the example above to ``` CREATE TABLE IF NOT EXISTS valuetable AS VALUES(1,'HELLO'),(12,'DATAFUSION'),(null, 'blablabla'); ``` To highlight the default nullability -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
