Commit Graph

35 Commits

Author SHA1 Message Date
Robert Schulze
2909e6451b
Move StringUtils.h/cpp back to Common/ 2024-05-19 09:39:36 +00:00
Robert Schulze
0daaeeab78
Merge pull request #61406 from rschu1ze/enable-clang-tidy-in-headers
Enable clang-tidy in headers
2024-03-18 21:43:26 +01:00
Nikita Mikhaylov
15896ecaf6
Add table system.keywords [Part 1] (#51808) 2024-03-18 16:58:57 +01:00
Robert Schulze
c17536c3b3
Enable clang-tidy in headers 2024-03-18 08:00:09 +00:00
KevinyhZou
adbc819a09
Fix JSON_QUERY function with multiple numeric paths (#57096)
* Fix json_query parse error while path has numuber

* Fix json_query with numberic path

* remove unuse code

* remove code

* review

* resume some code
2023-12-03 15:53:50 +01:00
lgbo-ustc
834ec7b382 reuse GeneratorJSONPath 2023-09-19 17:30:27 +08:00
kevinyhzou
d65dba10c6 review 2023-08-17 17:45:57 +08:00
kevinyhzou
f75b5c91b7 review fix 2023-08-16 18:09:21 +08:00
kevinyhzou
9d11f4bf93 Bug fix JSON_QUERY while the json path is all number 2023-08-16 17:46:50 +08:00
lgbo-ustc
ac87a1c23a update 2023-04-24 10:47:20 +08:00
lgbo-ustc
d8d7639ba7 fixed typos & style 2023-04-19 11:37:58 +08:00
lgbo-ustc
33bedc0291 improve jsonpath support in json functions 2023-04-19 11:37:58 +08:00
Alexander Tokmakov
70d1adfe4b
Better formatting for exception messages (#45449)
* save format string for NetException

* format exceptions

* format exceptions 2

* format exceptions 3

* format exceptions 4

* format exceptions 5

* format exceptions 6

* fix

* format exceptions 7

* format exceptions 8

* Update MergeTreeIndexGin.cpp

* Update AggregateFunctionMap.cpp

* Update AggregateFunctionMap.cpp

* fix
2023-01-24 00:13:58 +03:00
Azat Khuzhin
4e76629aaf Fixes for -Wshorten-64-to-32
- lots of static_cast
- add safe_cast
- types adjustments
  - config
  - IStorage::read/watch
  - ...
- some TODO's (to convert types in future)

P.S. That was quite a journey...

v2: fixes after rebase
v3: fix conflicts after #42308 merged
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-10-21 13:25:19 +02:00
Li Yin
4088c0a7f3 Automated function registration
Automated register all functions with below naming convention by
iterating through the symbols:
void DB::registerXXX(DB::FunctionFactory &)
2022-07-29 15:39:50 +08:00
Azat Khuzhin
e8f5cd3c68 Add separate option to omit symbols from heavy contrib
Sometimes it is useful to build contrib with debug symbols for further
debugging.

With everything turned ON (i.e. debug build) I got 3.3GB vs 3.0GB w/o
this patch, 9% bloat, thoughts about this is this OK or not for you, if
not STRIP_DEBUG_SYMBOLS_HEAVY_CONTRIB can be OFF by default (regardless
of build type).

P.S. aws debug symbols adds just 1.7%.
v2: rename STRIP_HEAVY_DEBUG_SYMBOLS
v3: OMIT_HEAVY_DEBUG_SYMBOLS
v4: documentation had been removed
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-02 06:32:03 +03:00
Maksim Kita
538f8cbaad Fix clang-tidy warnings in Disks, Formats, Functions folders 2022-03-14 18:17:35 +00:00
Raúl Marín
051dddd8df Reduce dependencies on ASTIdentifier.h
Goes from rebuilding 483 objects to 165 when it's modified
2021-11-26 16:49:40 +01:00
kssenii
01684ad05a Fix 2021-11-02 16:53:47 +03:00
l1tsolaiki
5b50fbde87 Also link jsonpath to functions 😨 2021-07-05 12:04:45 +03:00
l1tsolaiki
3b186d03f5 Change cmake lists 2021-07-05 11:56:09 +03:00
l1tsolaiki
7bcb57afe1 Fix failing special builds (probably) 2021-07-04 22:10:01 +03:00
l1tsolaiki
520c4a8f8a Fix according to review 2021-07-04 12:10:16 +03:00
l1tsolaiki
6981eb64ac Fixes 2021-06-25 19:24:22 +03:00
l1tsolaiki
ec7ec63a40 Fix style 2021-06-23 13:22:38 +03:00
l1tsolaiki
a5d3600f20 Fix compile errors with WriteBuffer 2021-06-23 12:41:38 +03:00
l1tsolaiki
e2765991b0 Separate star from ranges for better code 2021-06-18 01:53:10 +03:00
l1tsolaiki
ff3857fbe7 Add root parsing 2021-06-17 13:18:43 +03:00
Konstantin Rudenskii
bad7d56aaa Style again 😒 2021-06-06 16:00:46 +03:00
Konstantin Rudenskii
dfba5a479b Remove pragma once 2021-06-06 14:50:10 +03:00
Konstantin Rudenskii
582cc3daa9 Make 1st arg always be const, fix style 2021-06-06 14:13:13 +03:00
Konstantin Rudenskii
3f469fe0cd Style 2021-06-05 15:13:46 +03:00
Konstantin Rudenskii
cdd13b5ab4 Style 2021-06-05 01:31:55 +03:00
Konstantin Rudenskii
8199b45e95 Fix style
Fifth try v2.0

Fifth try v2.1

Fifth try v2.2

Fifth try v2.3

Fifth try v2.4

Fifth try v2.5

Fifth try v2.6

Fifth try v2.7

Fifth try v2.8

Fifth try v2.9

Fifth try v2.10

Fifth try v2.11

Fifth try v2.12

Fifth try v2.13

Fifth try v2.14

Fifth try v2.15

Fifth try v2.16

Fifth try v2.17

Fifth try v2.18

Fifth try v2.19

Fifth try v2.20

Fifth try v2.21

Fifth try v2.22

Fifth try v2.23

Fifth try v2.24

Fifth try v2.25

Fifth try v2.26

Fifth try v2.27

Fifth try v2.28

Add ranges

Add ranges try v1.1

Add ranges try v1.2

Add ranges try v1.3

Add ranges try v1.4

Add ranges try v1.5

Add ranges try v1.6

Add ranges try v1.7

Add ranges try v1.8

Add ranges try v1.9

Add ranges try v1.10

Add ranges try v1.11

Add ranges try v1.12

Add ranges try v1.13

Add ranges try v1.14

Add ranges try v1.15

Add ranges try v1.16

Add ranges try v1.17

Add ranges try v1.18

Add ranges try v1.19

Add ranges try v1.20

Add ranges try v1.21

Add ranges try v1.22

Add ranges try v1.23

Add ranges try v1.24

Add ranges try v1.25

Add ranges try v1.26

Add ranges try v1.27

Add ranges try v1.28

Add ranges try v1.29

Add ranges try v1.30

Add ranges try v1.31

Add ranges try v1.32

Add ranges try v1.33

Add ranges try v1.34

Add ranges try v1.35

Add ranges try v1.36

Add ranges try v1.37

Add ranges try v1.38

Add ranges try v1.39

Add ranges try v1.40

Add ranges try v1.41

Add ranges try v1.42

Add ranges try v1.43

Add ranges try v1.44

Add ranges try v1.45

Add ranges try v1.46

Add ranges try v1.47

Leftover comment

Try wildcard

Try wildcard v1.1

Try wildcard v1.2

Try wildcard v1.3

New functions

New functions 1.1

New functions 1.2

New functions 1.3

New functions 1.4

New functions 1.5

New functions 1.6

New functions 1.7

New functions 1.8

New functions 1.9

New functions 1.10

New functions 1.11

New functions 1.12

New functions 1.13

New functions 1.14

New functions 1.15

New functions 1.16

Final steps

Final steps v1.1

Final steps v1.2
2021-05-29 15:30:53 +03:00
d.v.semenov
2d6d05386a Just Works
Just works (remastered)

First steps

First steps fixed

First steps first fails

Research first steps

Tokenizer created

Sprint to the moon

Rename

Rename 2.0

Rename 3.0

Work in progress

Update

Oops

Oops x2

Try this

Now surely works

Maybe now?

Now?

Cmake first try

Restore to previous

Cmake second try

Make this work

Correct mistakes

Third try cmake

Exclude simd

Better

Try

Add std::cerr

More std::cerr

More and more std::cerr

Maybe fix?

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

AA

AB

AC

AD

AE

AF

AAA

AAB

AAC

AAD

AAF

AAE

AAF

AAG

AAH

AAI

AAJ

AAK

AAAA

AAAB

AAAC

AAAD

AAAE

AAAF

AAAG

AAAH

AAAAA

AAAAB

First try v2

First try v2.1

First try v2.2

First try v2.3

First try v2.4

First try v2.5

First try v2.6

First try v2.7

First try v2.8

First try v2.9

First try v2.10

First try v2.11

First try v2.12

First try v2.13

First try v2.14

First try v2.15

First try v2.16

First try v2.16

First try v2.17

First try v2.18

First try v2.19

First try v2.20

First try v2.21

First try v2.22

First try v2.23

First try v2.24

First try v2.25

First try v2.26

First try v2.27

First try v2.28

First try v2.29

First try v2.30

First try v2.31

First try v2.32

First try v2.33

First try v2.34

First try v2.35

First try v2.36

First try v2.37

Second try v2.00

Second try v2.01

Second try v2.02

Second try v2.03

Second try v2.04

Second try v2.05

Second try v2.06

Second try v2.07

Second try v2.08

Second try v2.09

Second try v2.10

Second try v2.11

Second try v2.12

Second try v2.13

Second try v2.14

Second try v2.15

Second try v2.16

Second try v2.17

Cleanup

Link SQLJSON only in simdjson build

Fix?

Fix?1.1

Fix

Revert "Fix"

This reverts commit 9df7aa977c880ec130062bceece7e215190b4837.

Revert "Fix?1.1"

This reverts commit 37429ecc9003fd73c106344186e39ff6603dde6c.

Revert "Fix?"

This reverts commit c1236fb8f4b5a799a5564aecf81136301f226e33.

Revert "Link SQLJSON only in simdjson build"

This reverts commit 8795cd8b143f3cfd312ddbf1b98e10d0d6fcaf51.

Revert "Cleanup"

This reverts commit e100dbc545f54421276be2e5d44f99f52fe1d87c.

Third try v2.0

Third try v2.1

Third try v2.2

Third try v2.3

Third try v2.4

Third try v2.5

Third try v2.6

Third try v2.7

Third try v2.8

Third try v2.9

Third try v2.10

Third try v2.11

Third try v2.12

Third try v2.13

Third try v2.14

Third try v2.15

Pre-intermediate touches v1.0

Pre-intermediate touches v1.1

Pre-intermediate touches v1.2

Pre-intermediate touches v1.3

Last changes
2021-05-15 12:34:44 +03:00