Commit Graph

2463 Commits

Author SHA1 Message Date
robot-clickhouse-ci-2
0db9c79886
Merge pull request #52332 from rschu1ze/better-formatsettings
Minor: Less awkward IAST::FormatSettings
2023-07-21 14:49:58 +02:00
János Benjamin Antal
e74acda53e
PRQL integration (#50686)
* Added prql-lib

* Add PRQL parser

* Extend stateless tests

* Add unit tests for `ParserPRQL`

---------

Co-authored-by: Ubuntu <ubuntu@ip-172-31-37-24.eu-central-1.compute.internal>
Co-authored-by: Ubuntu <ubuntu@ip-10-10-10-195.eu-central-1.compute.internal>
Co-authored-by: Александр Нам <47687537+seshWCS@users.noreply.github.com>
2023-07-20 12:54:42 +02:00
Robert Schulze
bd761c365a
Make serializeAST() more regular 2023-07-20 10:39:26 +00:00
Robert Schulze
25ddcc256b
Make IAST::FormatSettings more regular, pt. III 2023-07-20 10:34:05 +00:00
Robert Schulze
e5ec6a1523
Make IAST::FormatSettings more regular, pt. II 2023-07-20 10:32:55 +00:00
Robert Schulze
35a4fabc2d
Make IAST::FormatSettings more regular 2023-07-20 10:32:09 +00:00
Robert Schulze
7a0de384d4
Cosmetics 2023-07-20 10:25:08 +00:00
Robert Schulze
bdaf82922a
Use formatAST() 2023-07-19 12:56:15 +00:00
Alexey Milovidov
482c8b5cde
Merge pull request #52158 from ClickHouse/fix-unexpected-ast-set
Fix unexpected AST Set
2023-07-18 22:17:51 +03:00
Ilya Yatsishin
73246b4788
Merge pull request #52056 from ClickHouse/ignore-create-index-query
Allow to ignore CREATE INDEX query for better SQL syntax compatibility
2023-07-18 14:40:38 +02:00
Alexey Milovidov
da29166f08
Merge branch 'master' into fix-unexpected-ast-set 2023-07-17 23:17:55 +03:00
Nikita Mikhaylov
9a30aaa9aa
Revert "Fixed several issues found by OSS-Fuzz" 2023-07-17 16:14:58 +02:00
robot-ch-test-poll2
7f960c2379
Merge pull request #51160 from Algunenano/async_to_query_log
Log async insert flush queries into to system.query_log and system.processes
2023-07-17 13:49:22 +02:00
Nikita Mikhaylov
d04f39370a
Merge branch 'master' into oss-fuzz-fixes 2023-07-17 13:41:54 +02:00
Yatsishin Ilya
5b853c1958 Make ASTFuzzer happy 2023-07-17 11:32:22 +00:00
Alexey Milovidov
7915ba253b Better version 2023-07-17 04:49:04 +02:00
robot-clickhouse-ci-2
ac3cc1c2ff
Merge pull request #45671 from ClibMouse/feature/interval-kql-style-formatting
Implement KQL-style formatting for Interval
2023-07-16 04:06:54 +02:00
Yatsishin Ilya
2ee7a9846f fix 2023-07-12 12:47:24 +00:00
Yatsishin Ilya
3bd9c57a8c allow to ignore CREATE INDEX query for better SQL syntax compatibility 2023-07-12 09:29:36 +00:00
Amos Bird
a33b90c648
Projection & optimize_group_by_function_keys 2023-07-11 21:11:28 +08:00
Amos Bird
1739bb306a
Projection & optimize_aggregators_of_group_by_keys
Fix projection with optimize_aggregators_of_group_by_keys = true
2023-07-11 21:11:27 +08:00
ltrk2
9a74b97184 Improve naming 2023-07-10 13:51:49 -04:00
ltrk2
522b9ebf8c Implement KQL-style formatting for Interval 2023-07-10 13:51:49 -04:00
Raúl Marín
dbdfc07790
Merge branch 'master' into async_to_query_log 2023-07-10 10:32:56 +02:00
Alexey Milovidov
5d385f5f14
Merge pull request #51881 from qoega/per-column-pk-syntax
Add support for PRIMARY KEY syntax in column definition
2023-07-08 21:52:29 +03:00
Alexey Milovidov
2a8c7d0ea2
Update src/Parsers/ParserCreateQuery.cpp
Co-authored-by: Nikolay Degterinsky <43110995+evillique@users.noreply.github.com>
2023-07-08 21:52:19 +03:00
Alexey Milovidov
933a92e176 Merge branch 'master' into remove-useless-system-query 2023-07-08 01:45:19 +02:00
Ilya Yatsishin
7aacc35829
Merge branch 'master' into per-column-pk-syntax 2023-07-07 14:52:15 +02:00
Alexey Milovidov
7cece62d26 Revert "Merge pull request #51547 from kssenii/more-flexible-drop-cache"
This reverts commit 2ce7bcaa3d, reversing
changes made to e897207cd5.
2023-07-07 04:07:19 +02:00
Alexey Milovidov
f0cc90a7fb Revert "Merge pull request #51822 from kssenii/minor-changes"
This reverts commit 5ac85f4fa8, reversing
changes made to 376c903da9.
2023-07-07 04:07:03 +02:00
Raúl Marín
bd779c8066
Merge branch 'master' into async_to_query_log 2023-07-06 15:46:27 +02:00
Yatsishin Ilya
12ebb30781 style 2023-07-06 10:34:34 +00:00
Yatsishin Ilya
24e77083b3 Commit tests 2023-07-06 09:50:44 +00:00
Alexey Milovidov
d59f68b600 Remove useless code 2023-07-06 04:55:46 +02:00
Yatsishin Ilya
fd4f738502 Merge remote-tracking branch 'origin' into per-column-pk-syntax 2023-07-05 12:30:26 +00:00
Yatsishin Ilya
e957600d5c wip 2023-07-05 12:28:27 +00:00
kssenii
e6422f8144 Delete comment, rename variable 2023-07-05 13:08:11 +02:00
Kseniia Sumarokova
f2d942fbb5
Merge branch 'master' into more-flexible-drop-cache 2023-07-05 11:43:57 +02:00
Nikita Mikhaylov
673c30f717
Merge branch 'master' into oss-fuzz-fixes 2023-07-04 19:52:41 +02:00
Raúl Marín
7262433068
Merge branch 'master' into async_to_query_log 2023-07-04 12:59:04 +02:00
Nikita Mikhaylov
811ba86a20 Remove garbage 2023-07-04 00:24:35 +02:00
Nikita Mikhaylov
2e245f4a43 Even better 2023-07-04 00:23:00 +02:00
Sema Checherinda
bd3d6d4976
Merge pull request #51404 from CheSema/no-finalize-WriteBufferFromOStream
no finalize in d-tor WriteBufferFromOStream
2023-07-01 19:37:54 +02:00
kssenii
39f8b92e24 Allow to add disk name for custom disk 2023-06-28 19:05:35 +02:00
kssenii
1d78bafa82 Flexible drop cache 2023-06-28 18:44:47 +02:00
Sema Checherinda
047f656980 add explicit finalize calls 2023-06-26 15:04:50 +02:00
Raúl Marín
2d860302d9
Merge branch 'master' into async_to_query_log 2023-06-26 13:57:04 +02:00
Raúl Marín
b1cedf0e42 Simplify handling of AsyncInsertFlush 2023-06-20 11:38:19 +02:00
Raúl Marín
cf74aee6c9 Log async query flushes to query_log 2023-06-20 11:38:19 +02:00
alekar
b70803c71b
Merge branch 'master' into improve-outfile 2023-06-16 01:08:48 -07:00