We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug when type is notnull LowCardinality(String) DEFAULT 'NULL'
To Reproduce Minimal piece of Python code that reproduces the problem.
client.execute("drop table if exists testnn") client.execute("create table testnn (x String DEFAULT 'aaa') Engine=Memory") client.execute("insert into testnn VALUES", [('3')]) client.execute("insert into testnn VALUES", [{'x': 'yee'}]) print(list(client.execute_iter('select * from testnn'))) client.execute("insert into testnn VALUES", [{'x': None}]) client.execute("insert into testnn VALUES", [(None)])
Expected behavior Should success as the default value
Versions
SELECT version()
The text was updated successfully, but these errors were encountered:
I've also tried the settings={'input_format_null_as_default': True} but it fallbacked to '' instead of 'aaa'
settings={'input_format_null_as_default': True}
Sorry, something went wrong.
No branches or pull requests
Describe the bug
when type is notnull LowCardinality(String) DEFAULT 'NULL'
To Reproduce
Minimal piece of Python code that reproduces the problem.
Expected behavior
Should success as the default value
Versions
0.2.4
SELECT version()
query.22.6.1.1985
3.9
The text was updated successfully, but these errors were encountered: