ClickHouse/tests/queries/0_stateless/02247_fix_extract_parser.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

4 lines
155 B
MySQL
Raw Normal View History

2022-03-31 12:20:48 +00:00
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+');