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
This one is a minor one but is still used by Tableau online when converting DateTime columns during the table column types introspection stage.
Sample generated query:
SELECT `cell_towers`.`area` AS `area`, `cell_towers`.`averageSignal` AS `averageSignal`, `cell_towers`.`cell` AS `cell`, `cell_towers`.`changeable` AS `changeable`, `cell_towers`.`created` AS `created`, `cell_towers`.`lat` AS `lat`, `cell_towers`.`lon` AS `lon`, `cell_towers`.`mcc` AS `mcc`, `cell_towers`.`net` AS `net`, `cell_towers`.`radio` AS `radio`, `cell_towers`.`range` AS `range`, `cell_towers`.`samples` AS `samples`, `cell_towers`.`unit` AS `unit`, (TO_DAYS(`cell_towers`.`updated`) - 693961) AS `updated` FROM `cell_towers` LIMIT 100
which fails, because
Code: 46. DB::Exception: Unknown function TO_DAYS
How to reproduce
Expected behavior
TO_DAYS function works like in MySQL
The text was updated successfully, but these errors were encountered:
Implement toDaysSinceYearZero() / to_days() (MySQL alias)
1ce8477
Fixes: ClickHouse#54277
rschu1ze
Successfully merging a pull request may close this issue.
This one is a minor one but is still used by Tableau online when converting DateTime columns during the table column types introspection stage.
Sample generated query:
which fails, because
How to reproduce
Expected behavior
TO_DAYS function works like in MySQL
The text was updated successfully, but these errors were encountered: