ClickHouse/tests/queries/0_stateless/02247_fix_extract_parser.sql
Nikolay Degterinsky eb88a5f29e Add test
2022-03-31 12:20:48 +00:00

4 lines
155 B
SQL

WITH 'number: 1' as year SELECT extract(year, '\\d+');
WITH 'number: 2' as mm SELECT extract(mm, '\\d+');
WITH 'number: 3' as s SELECT extract(s, '\\d+');