Skip to content

Cast keep nullable#11053

Merged
tavplubix merged 5 commits intoClickHouse:masterfrom
Potya:cast_keep_nullable
Jun 15, 2020
Merged

Cast keep nullable#11053
tavplubix merged 5 commits intoClickHouse:masterfrom
Potya:cast_keep_nullable

Conversation

@Potya
Copy link
Copy Markdown
Contributor

@Potya Potya commented May 19, 2020

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Changelog category (leave one):

  • Non-significant

Detailed description / Documentation draft:
Now cast kept nullability. Add cast_keep_nullable setting

@blinkov blinkov added the pr-not-for-changelog This PR should not be mentioned in the changelog label May 19, 2020
@akuzm
Copy link
Copy Markdown
Contributor

akuzm commented May 23, 2020

Please add a functional test for this to 0_stateless (see the description here: https://clickhouse.tech/docs/en/development/tests/#functional-tests)

" Instead there is a column with the following structure: " + column->dumpStructure(),
ErrorCodes::ILLEGAL_TYPE_OF_ARGUMENT);

Settings set;
Copy link
Copy Markdown
Contributor

@4ertus2 4ertus2 Jun 4, 2020

Choose a reason for hiding this comment

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

It does not work this way. You should get settings with context.getSettingsRef() that allowed in create(const Context &). So you need extract needed setting there.

@4ertus2 4ertus2 self-assigned this Jun 4, 2020
@qoega qoega linked an issue Jun 9, 2020 that may be closed by this pull request
@tavplubix tavplubix merged commit cee9c15 into ClickHouse:master Jun 15, 2020
@alexey-milovidov
Copy link
Copy Markdown
Member

FYI This pull request is not merged.

@4ertus2 4ertus2 mentioned this pull request Jun 17, 2020
@4ertus2
Copy link
Copy Markdown
Contributor

4ertus2 commented Jun 17, 2020

Closed in favor of #11733

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compatibility of CAST operator.

7 participants