aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/clickhouse/src/Parsers/ya.make
blob: d5b3bbd5a5c19d30a7077d99f0d7d3ec23ebc78f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
# Generated by devtools/yamaker.

LIBRARY()

LICENSE(
    Apache-2.0 AND
    MIT AND
    Public-Domain
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

PEERDIR(
    contrib/clickhouse/src/Common
    contrib/libs/cctz
    contrib/libs/cctz/tzdata
    contrib/libs/double-conversion
    contrib/libs/fmt
    contrib/libs/miniselect
    contrib/libs/pdqsort
    contrib/libs/poco/Foundation
    contrib/libs/poco/JSON
    contrib/libs/poco/Net
    contrib/libs/poco/Util
    contrib/libs/poco/XML
    contrib/libs/re2
    contrib/libs/sparsehash
    contrib/restricted/boost/circular_buffer
    contrib/restricted/boost/container_hash
    contrib/restricted/boost/context
    contrib/restricted/boost/convert
    contrib/restricted/boost/dynamic_bitset
    contrib/restricted/boost/filesystem
    contrib/restricted/boost/geometry
    contrib/restricted/boost/heap
    contrib/restricted/boost/multi_index
    contrib/restricted/boost/program_options
    contrib/restricted/boost/system
    contrib/restricted/boost/tti
    contrib/restricted/cityhash-1.0.2
    contrib/restricted/dragonbox
    contrib/restricted/magic_enum
)

ADDINCL(
    contrib/clickhouse/base
    contrib/clickhouse/base/pcg-random
    contrib/clickhouse/includes/configs
    contrib/clickhouse/src
    contrib/libs/double-conversion
    contrib/libs/miniselect/include
    contrib/libs/pdqsort
    contrib/libs/sparsehash/src
    contrib/restricted/cityhash-1.0.2
)

NO_COMPILER_WARNINGS()

NO_UTIL()

IF (OS_DARWIN)
    CFLAGS(
        GLOBAL -DOS_DARWIN
    )
ELSEIF (OS_LINUX)
    CFLAGS(
        GLOBAL -DOS_LINUX
    )
ENDIF()

CFLAGS(
    -DAWS_SDK_VERSION_MAJOR=1
    -DAWS_SDK_VERSION_MINOR=10
    -DAWS_SDK_VERSION_PATCH=36
    -DBOOST_ASIO_HAS_STD_INVOKE_RESULT=1
    -DBOOST_ASIO_STANDALONE=1
    -DBOOST_TIMER_ENABLE_DEPRECATED=1
    -DENABLE_MULTITARGET_CODE=1
    -DINCBIN_SILENCE_BITCODE_WARNING
    -DPOCO_ENABLE_CPP11
    -DPOCO_HAVE_FD_EPOLL
    -DPOCO_OS_FAMILY_UNIX
    -DUNALIGNED_OK
    -DWITH_COVERAGE=0
    -DWITH_GZFILEOP
    -DX86_64
    -DZLIB_COMPAT
    -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS
    -D__GCC_HAVE_DWARF2_CFI_ASM=1
)

SRCS(
    ASTAlterNamedCollectionQuery.cpp
    ASTAlterQuery.cpp
    ASTAsterisk.cpp
    ASTBackupQuery.cpp
    ASTCollation.cpp
    ASTColumnDeclaration.cpp
    ASTColumnsMatcher.cpp
    ASTColumnsTransformers.cpp
    ASTConstraintDeclaration.cpp
    ASTCreateFunctionQuery.cpp
    ASTCreateIndexQuery.cpp
    ASTCreateNamedCollectionQuery.cpp
    ASTCreateQuery.cpp
    ASTDatabaseOrNone.cpp
    ASTDeleteQuery.cpp
    ASTDictionary.cpp
    ASTDictionaryAttributeDeclaration.cpp
    ASTDropFunctionQuery.cpp
    ASTDropIndexQuery.cpp
    ASTDropNamedCollectionQuery.cpp
    ASTDropQuery.cpp
    ASTExpressionList.cpp
    ASTFunction.cpp
    ASTFunctionWithKeyValueArguments.cpp
    ASTIdentifier.cpp
    ASTIndexDeclaration.cpp
    ASTInsertQuery.cpp
    ASTInterpolateElement.cpp
    ASTKillQueryQuery.cpp
    ASTLiteral.cpp
    ASTNameTypePair.cpp
    ASTOptimizeQuery.cpp
    ASTOrderByElement.cpp
    ASTPartition.cpp
    ASTProjectionDeclaration.cpp
    ASTProjectionSelectQuery.cpp
    ASTQualifiedAsterisk.cpp
    ASTQueryParameter.cpp
    ASTQueryWithOnCluster.cpp
    ASTQueryWithOutput.cpp
    ASTQueryWithTableAndOutput.cpp
    ASTSampleRatio.cpp
    ASTSelectIntersectExceptQuery.cpp
    ASTSelectQuery.cpp
    ASTSelectWithUnionQuery.cpp
    ASTSetQuery.cpp
    ASTShowColumnsQuery.cpp
    ASTShowIndexesQuery.cpp
    ASTShowTablesQuery.cpp
    ASTSubquery.cpp
    ASTSystemQuery.cpp
    ASTTTLElement.cpp
    ASTTableOverrides.cpp
    ASTTablesInSelectQuery.cpp
    ASTTransactionControl.cpp
    ASTUndropQuery.cpp
    ASTWindowDefinition.cpp
    ASTWithAlias.cpp
    ASTWithElement.cpp
    Access/ASTAuthenticationData.cpp
    Access/ASTCreateQuotaQuery.cpp
    Access/ASTCreateRoleQuery.cpp
    Access/ASTCreateRowPolicyQuery.cpp
    Access/ASTCreateSettingsProfileQuery.cpp
    Access/ASTCreateUserQuery.cpp
    Access/ASTDropAccessEntityQuery.cpp
    Access/ASTGrantQuery.cpp
    Access/ASTMoveAccessEntityQuery.cpp
    Access/ASTRolesOrUsersSet.cpp
    Access/ASTRowPolicyName.cpp
    Access/ASTSetRoleQuery.cpp
    Access/ASTSettingsProfileElement.cpp
    Access/ASTShowAccessEntitiesQuery.cpp
    Access/ASTShowCreateAccessEntityQuery.cpp
    Access/ASTShowGrantsQuery.cpp
    Access/ASTUserNameWithHost.cpp
    Access/ParserCreateQuotaQuery.cpp
    Access/ParserCreateRoleQuery.cpp
    Access/ParserCreateRowPolicyQuery.cpp
    Access/ParserCreateSettingsProfileQuery.cpp
    Access/ParserCreateUserQuery.cpp
    Access/ParserDropAccessEntityQuery.cpp
    Access/ParserGrantQuery.cpp
    Access/ParserMoveAccessEntityQuery.cpp
    Access/ParserRolesOrUsersSet.cpp
    Access/ParserRowPolicyName.cpp
    Access/ParserSetRoleQuery.cpp
    Access/ParserSettingsProfileElement.cpp
    Access/ParserShowAccessEntitiesQuery.cpp
    Access/ParserShowCreateAccessEntityQuery.cpp
    Access/ParserShowGrantsQuery.cpp
    Access/ParserShowPrivilegesQuery.cpp
    Access/ParserUserNameWithHost.cpp
    Access/parseUserName.cpp
    CommonParsers.cpp
    ExpressionElementParsers.cpp
    ExpressionListParsers.cpp
    FieldFromAST.cpp
    FunctionParameterValuesVisitor.cpp
    IAST.cpp
    IParserBase.cpp
    InsertQuerySettingsPushDownVisitor.cpp
    Kusto/Formatters.cpp
    Kusto/ParserKQLFilter.cpp
    Kusto/ParserKQLLimit.cpp
    Kusto/ParserKQLOperators.cpp
    Kusto/ParserKQLProject.cpp
    Kusto/ParserKQLQuery.cpp
    Kusto/ParserKQLSort.cpp
    Kusto/ParserKQLStatement.cpp
    Kusto/ParserKQLSummarize.cpp
    Kusto/ParserKQLTable.cpp
    Lexer.cpp
    MySQL/ASTAlterCommand.cpp
    MySQL/ASTAlterQuery.cpp
    MySQL/ASTCreateDefines.cpp
    MySQL/ASTCreateQuery.cpp
    MySQL/ASTDeclareColumn.cpp
    MySQL/ASTDeclareConstraint.cpp
    MySQL/ASTDeclareIndex.cpp
    MySQL/ASTDeclareOption.cpp
    MySQL/ASTDeclarePartition.cpp
    MySQL/ASTDeclarePartitionOptions.cpp
    MySQL/ASTDeclareReference.cpp
    MySQL/ASTDeclareSubPartition.cpp
    MySQL/ASTDeclareTableOptions.cpp
    MySQL/ASTDropQuery.cpp
    PRQL/ParserPRQLQuery.cpp
    ParserAlterNamedCollectionQuery.cpp
    ParserAlterQuery.cpp
    ParserAttachAccessEntity.cpp
    ParserBackupQuery.cpp
    ParserCase.cpp
    ParserCheckQuery.cpp
    ParserCreateFunctionQuery.cpp
    ParserCreateIndexQuery.cpp
    ParserCreateQuery.cpp
    ParserDataType.cpp
    ParserDatabaseOrNone.cpp
    ParserDeleteQuery.cpp
    ParserDescribeCacheQuery.cpp
    ParserDescribeTableQuery.cpp
    ParserDictionary.cpp
    ParserDictionaryAttributeDeclaration.cpp
    ParserDropFunctionQuery.cpp
    ParserDropIndexQuery.cpp
    ParserDropNamedCollectionQuery.cpp
    ParserDropQuery.cpp
    ParserExplainQuery.cpp
    ParserExternalDDLQuery.cpp
    ParserInsertQuery.cpp
    ParserKillQueryQuery.cpp
    ParserOptimizeQuery.cpp
    ParserPartition.cpp
    ParserProjectionSelectQuery.cpp
    ParserQuery.cpp
    ParserQueryWithOutput.cpp
    ParserRenameQuery.cpp
    ParserSampleRatio.cpp
    ParserSelectQuery.cpp
    ParserSelectWithUnionQuery.cpp
    ParserSetQuery.cpp
    ParserShowColumnsQuery.cpp
    ParserShowIndexesQuery.cpp
    ParserShowTablesQuery.cpp
    ParserSystemQuery.cpp
    ParserTablePropertiesQuery.cpp
    ParserTablesInSelectQuery.cpp
    ParserTransactionControl.cpp
    ParserUndropQuery.cpp
    ParserUnionQueryElement.cpp
    ParserUseQuery.cpp
    ParserWatchQuery.cpp
    ParserWithElement.cpp
    QueryParameterVisitor.cpp
    QueryWithOutputSettingsPushDownVisitor.cpp
    SelectUnionMode.cpp
    TokenIterator.cpp
    formatAST.cpp
    formatSettingName.cpp
    getInsertQuery.cpp
    iostream_debug_helpers.cpp
    isDiskFunction.cpp
    makeASTForLogicalFunction.cpp
    obfuscateQueries.cpp
    parseDatabaseAndTableName.cpp
    parseIdentifierOrStringLiteral.cpp
    parseIntervalKind.cpp
    parseQuery.cpp
    queryToString.cpp
    toOneLineQuery.cpp
)

END()