ClickHouse/src/Functions
Robert Schulze 72b9d75a84
Add compat setting for non-const timezones
SQL function toTimezone() converts a Date or DateTime into another
timezone. The problem is that the timezone is part of the Date /
DateTime type but not part of the internal representation (value). This
led to the fact that toTimeZone() wqith non-const timezones produced
wrong and misleading results until #48471 (shipped with v23.4) enforced
a const timezone.

Unfortunately, this PR also broke existing table definitions with
non-const timezones, e.g. in ALIAS expressions. So while #48471
addressed the issue appropriately, it is really backwards-incompatible.

This PR adds a setting to toggle the behavior and makes it also part of
the compatibility profile.
2023-06-10 16:56:42 +00:00
..
array Merge branch 'master' into dot_product 2023-05-17 14:40:06 +08:00
divide Update libdivide 2022-12-13 10:45:01 +01:00
GatherUtils Clean up GCC warning pragmas 2023-04-11 18:21:08 +00:00
JSONPath update 2023-04-24 10:47:20 +08:00
keyvaluepair Merge pull request #49760 from arthurpassos/extract_kv_ignore_kv_delimiter_when_reading_value 2023-05-20 13:27:59 +02:00
tests Clean up GCC warning pragmas 2023-04-11 18:21:08 +00:00
UniqTheta Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
URL Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
UserDefined Fixes for clang-17 2023-05-13 02:57:31 +02:00
abs.cpp support string 2023-04-22 17:21:43 +00:00
acos.cpp
acosh.cpp
addDays.cpp
addHours.cpp
addMinutes.cpp
addMonths.cpp
addQuarters.cpp
addressToLine.cpp
addressToLine.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
addressToLineWithInlines.cpp
addressToSymbol.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
addSeconds.cpp
addSubSeconds.cpp
addWeeks.cpp
addYears.cpp
aes_decrypt_mysql.cpp Merge remote-tracking branch 'origin/master' into generated-file-cleanup 2022-10-06 08:43:25 +00:00
aes_encrypt_mysql.cpp
appendTrailingCharIfAbsent.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
ascii.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
asin.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
asinh.cpp
assumeNotNull.cpp
atan2.cpp
atan.cpp
atanh.cpp
bar.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
base58Decode.cpp
base58Encode.cpp
base64Decode.cpp Add support for FixedString input to base64 functions 2022-11-02 08:14:28 -04:00
base64Encode.cpp Add support for FixedString input to base64 functions 2022-11-02 08:14:28 -04:00
bitAnd.cpp bitCount support FixedString data type 2023-04-22 14:17:31 +00:00
bitBoolMaskAnd.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
bitBoolMaskOr.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
bitCount.cpp Support bitCount for big integers 2023-05-15 03:30:03 +02:00
bitHammingDistance.cpp bitHammingDistance support String and FixedString data type 2023-05-13 13:56:36 +00:00
bitNot.cpp Merge branch 'master' of github.com:ClickHouse/ClickHouse into bitcount 2023-04-22 17:23:30 +00:00
bitOr.cpp bitCount support FixedString data type 2023-04-22 14:17:31 +00:00
bitRotateLeft.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
bitRotateRight.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
bitShiftLeft.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
bitShiftRight.cpp use std::lerp, constexpr hex.h 2023-03-07 22:50:17 +00:00
bitSlice.cpp Compile with C++23 2023-03-10 19:11:58 +00:00
bitSwapLastTwo.cpp support string 2023-04-22 17:21:43 +00:00
bitTest.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
bitTestAll.cpp
bitTestAny.cpp
bitWrapperFunc.cpp support string 2023-04-22 17:21:43 +00:00
bitXor.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
blockNumber.cpp Make atomic counter relaxed 2022-12-13 13:34:41 +00:00
blockSerializedSize.cpp
blockSize.cpp Some cleanup of isDeterministic(InScopeOfQuery)() 2022-12-07 14:34:31 +00:00
byteSize.cpp
canonicalRand.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
caseWithExpression.cpp Functions: allow caseWithExpression to correctly deal with NULLs 2023-04-26 10:46:32 +02:00
castOrDefault.cpp fix the same issue in other functions 2023-04-12 20:36:23 +02:00
CastOverloadResolver.cpp Add Documentation to FunctionFactory 2022-08-27 22:06:57 +02:00
CastOverloadResolver.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
castTypeToEither.h
catboostEvaluate.cpp
cbrt.cpp
checkHyperscanRegexp.cpp Cosmetics 2023-02-24 11:29:45 +00:00
checkHyperscanRegexp.h Reject DoS-prone hyperscan regexes 2023-02-09 17:17:35 +00:00
CMakeLists.txt Fused KeyStateHandler and ValueState togther 2023-03-29 18:28:14 +02:00
coalesce.cpp
concat.cpp allow using function 'concat' with Map type 2023-04-26 14:39:59 +00:00
concatWithSeparator.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
connectionId.cpp
convertCharset.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
cos.cpp
cosh.cpp
countDigits.cpp Speed up countDigits 2023-02-09 04:39:12 +01:00
countMatches.cpp
countMatches.h
countSubstrings.cpp
countSubstringsCaseInsensitive.cpp
countSubstringsCaseInsensitiveUTF8.cpp
CountSubstringsImpl.h Refine the solution 2023-01-23 14:27:48 -08:00
CRC.cpp add empty/notEmpty function support for IP types 2023-01-30 20:37:08 +00:00
currentDatabase.cpp
currentProfiles.cpp
currentRoles.cpp
currentUser.cpp
CustomWeekTransforms.h Implement toLastDayWeek function 2023-05-18 21:47:52 +00:00
date_trunc.cpp Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
dateDiff.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
dateName.cpp Revert "Revert "update function DAYOFWEEK and add new function WEEKDAY for mysql/spark compatiability"" 2023-01-13 14:00:16 +00:00
DateTimeTransforms.cpp Refactoring: Un-inline some error handling methods 2022-10-02 19:52:40 +00:00
DateTimeTransforms.h Fix monotonic check with DateTime64 2023-03-13 16:30:32 +00:00
decodeXMLComponent.cpp use std::lerp, constexpr hex.h 2023-03-07 22:50:17 +00:00
decrypt.cpp Merge remote-tracking branch 'origin/master' into generated-file-cleanup 2022-10-06 08:43:25 +00:00
defaultValueOfArgumentType.cpp
defaultValueOfTypeName.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
degrees.cpp Add Documentation to FunctionFactory 2022-08-27 22:06:57 +02:00
demangle.cpp Typo: demange.cpp --> demangle.cpp 2023-05-11 21:32:12 +00:00
divide.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
divideDecimal.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
DivisionUtils.h Clean up GCC warning pragmas 2023-04-11 18:21:08 +00:00
dumpColumnStructure.cpp
empty.cpp
EmptyImpl.h add empty/notEmpty function support for IP types 2023-01-30 20:37:08 +00:00
encodeXMLComponent.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
encrypt.cpp
endsWith.cpp
equals.cpp
erf.cpp
erfc.cpp Automated function registration 2022-07-29 15:39:50 +08:00
errorCodeToName.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
evalMLMethod.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
exp2.cpp
exp10.cpp Automated function registration 2022-07-29 15:39:50 +08:00
exp.cpp
extract.cpp Reject DoS-prone hyperscan regexes 2023-02-09 17:17:35 +00:00
extractAllGroups.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
extractAllGroupsHorizontal.cpp
extractAllGroupsVertical.cpp Automated function registration 2022-07-29 15:39:50 +08:00
extractGroups.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
ExtractString.h
extractTextFromHTML.cpp Mark a function inline 2023-04-06 13:28:30 -07:00
extractTimeZoneFromFunctionArguments.cpp Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
extractTimeZoneFromFunctionArguments.h Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
factorial.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
filesystem.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
finalizeAggregation.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
flattenTuple.cpp
formatDateTime.cpp Merge pull request #48627 from ClickHouse/rs/formatdatetime-refactoring 2023-04-11 15:29:47 +02:00
formatReadable.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
formatReadableDecimalSize.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
formatReadableQuantity.cpp
formatReadableSize.cpp
formatReadableTimeDelta.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
formatRow.cpp Fixed tests 2023-03-01 18:05:07 +01:00
formatString.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
formatString.h
fromModifiedJulianDay.cpp Function fromModifiedJulianDay argument types fix 2023-02-16 12:17:02 +01:00
fromUnixTimestamp64Micro.cpp Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
fromUnixTimestamp64Milli.cpp Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
fromUnixTimestamp64Nano.cpp Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
FunctionBase58Conversion.h
FunctionBase64Conversion.h Add support for FixedString input to base64 functions 2022-11-02 08:14:28 -04:00
FunctionBinaryArithmetic.h Fix bitShift* functions with both constant arguments 2023-05-30 12:12:54 +00:00
FunctionBitTestMany.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionChar.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionConstantBase.h Some cleanup of isDeterministic(InScopeOfQuery)() 2022-12-07 14:34:31 +00:00
FunctionCustomWeekToDateOrDate32.h Use C++20 format() syntax for exceptions 2022-09-29 14:07:02 +00:00
FunctionCustomWeekToSomething.h Use C++20 format() syntax for exceptions 2022-09-29 14:07:02 +00:00
FunctionDateOrDateTimeAddInterval.h Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
FunctionDateOrDateTimeToDateOrDate32.h Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
FunctionDateOrDateTimeToDateTimeOrDateTime64.h Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
FunctionDateOrDateTimeToSomething.h Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
FunctionFactory.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
FunctionFactory.h Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
FunctionFile.cpp Fixed tests 2023-03-11 11:51:54 +01:00
FunctionFQDN.cpp
FunctionGenerateRandomStructure.cpp Fix build 2023-05-22 19:46:05 +00:00
FunctionGenerateRandomStructure.h Fix style 2023-05-15 13:46:18 +02:00
FunctionHashID.cpp
FunctionHashID.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionHelpers.cpp SIZES_OF_ARRAYS_DOESN_MATCH --> SIZES_OF_ARRAYS_DONT_MATCH 2023-02-27 08:31:40 +00:00
FunctionHelpers.h Reduce inter-header dependencies 2023-05-02 21:15:18 +02:00
FunctionIfBase.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
FunctionJoinGet.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionJoinGet.h Mark joinGet() as non deterministic (so as dictGet) 2023-05-13 08:12:53 +02:00
FunctionMathBinaryFloat64.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionMathUnary.h
FunctionNumericPredicate.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsAES.cpp forbid old ctor of Exception 2023-01-23 22:18:05 +01:00
FunctionsAES.h check number of parameters in format string 2023-01-23 23:16:16 +01:00
FunctionsBinaryRepresentation.cpp Add Decimal256 to a lot of places 2023-03-14 22:10:52 +01:00
FunctionsBitmap.cpp
FunctionsBitmap.h I hate short variable names wholeheartedly 2023-03-19 02:39:59 +01:00
FunctionsBitToArray.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsCharsetClassification.cpp
FunctionsCodingIP.cpp ip encoding fix 2023-05-09 13:57:22 -07:00
FunctionsCodingIP.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsCodingULID.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
FunctionsCodingUUID.cpp use std::lerp, constexpr hex.h 2023-03-07 22:50:17 +00:00
FunctionsComparison.h Function equals NaN fix 2023-05-28 17:02:46 +03:00
FunctionsConsistentHashing.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsConversion.cpp bugs fixed, some optimization, cleanup, test fixed 2022-11-21 07:45:42 +00:00
FunctionsConversion.h Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
FunctionsDecimalArithmetics.h Remove superfluous includes of logger_userful.h from headers 2023-04-10 17:59:30 +02:00
FunctionsEmbeddedDictionaries.cpp
FunctionsEmbeddedDictionaries.h initial solution 2023-03-06 19:35:00 +03:00
FunctionsExternalDictionaries.cpp Add dictGetAll function for RegExpTreeDictionary 2023-06-04 23:46:04 -05:00
FunctionsExternalDictionaries.h Review comments: Use constexpr-if in more places 2023-06-04 23:46:04 -05:00
FunctionsHashing.h MSan support for Rust 2023-06-04 23:04:55 +02:00
FunctionsHashingInt.cpp Review suggestions 2023-01-24 22:54:01 +00:00
FunctionsHashingMisc.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
FunctionsHashingMurmur.cpp Add kafkaMurmurHash function 2023-03-29 18:09:15 +00:00
FunctionsHashingSSL.cpp Review suggestions 2023-01-24 22:54:01 +00:00
FunctionShowCertificate.cpp
FunctionShowCertificate.h Use forward declaration of ThreadPool 2023-04-07 11:25:35 +02:00
FunctionsJSON.cpp Move functions registration to .cpp 2023-03-30 06:24:18 +03:00
FunctionsJSON.h support map node for json extract 2023-04-12 10:18:07 +08:00
FunctionsLanguageClassification.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsLogical.cpp forbid old ctor of Exception 2023-01-23 22:18:05 +01:00
FunctionsLogical.h Clean up GCC warning pragmas 2023-04-11 18:21:08 +00:00
FunctionsMiscellaneous.h Remove PVS-Studio 2023-02-19 23:30:05 +01:00
FunctionsMultiStringFuzzySearch.h Reject DoS-prone hyperscan regexes 2023-02-09 17:17:35 +00:00
FunctionsMultiStringPosition.h Merge pull request #39300 from ClickHouse/stringref-to-stringview 2022-07-18 19:20:16 +02:00
FunctionsMultiStringSearch.h Reject DoS-prone hyperscan regexes 2023-02-09 17:17:35 +00:00
FunctionSnowflake.h Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
FunctionsProgrammingClassification.cpp
FunctionSQLJSON.cpp
FunctionSQLJSON.h review fix 2023-04-02 12:38:17 +08:00
FunctionsRandom.cpp Adapt internal data structures to 512-bit era (#42564) 2022-10-25 13:56:28 +02:00
FunctionsRandom.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsRound.cpp
FunctionsRound.h Add Decimal256 to a lot of places 2023-03-14 22:10:52 +01:00
FunctionsStringArray.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsStringArray.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsStringHash.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsStringHash.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsStringSearch.h Refine the solution 2023-01-23 14:27:48 -08:00
FunctionsStringSearchToString.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsStringSimilarity.cpp Suppress MSan warning in NgramDistanceImpl::unrollLowering() 2023-05-11 16:30:17 +02:00
FunctionsStringSimilarity.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionStartsEndsWith.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsTextClassification.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsTimeWindow.cpp Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
FunctionsTimeWindow.h Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
FunctionsTonalityClassification.cpp
FunctionsTransactionCounters.cpp
FunctionStringOrArrayToT.h add empty/notEmpty function support for IP types 2023-01-30 20:37:08 +00:00
FunctionStringReplace.h Fix replace[Regexp]{One,All}() with const haystacks 2023-04-26 18:18:11 +00:00
FunctionStringToString.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
FunctionsVisitParam.h Refine the solution 2023-01-23 14:27:48 -08:00
FunctionToDecimalString.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
FunctionToDecimalString.h style fix 2023-03-28 13:58:37 +02:00
FunctionUnaryArithmetic.h fix 2023-04-24 02:16:58 +00:00
FunctionUnixTimestamp64.h Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
fuzzBits.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
gcd.cpp
GCDLCMImpl.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
generateULID.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
generateUUIDv4.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
GeoHash.cpp
GeoHash.h
geohashDecode.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
geohashEncode.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
geohashesInBox.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
geometryConverters.h Remove superfluous includes of logger_userful.h from headers 2023-04-10 17:59:30 +02:00
geoToH3.cpp fixes 2023-01-24 00:46:03 +01:00
geoToS2.cpp
getFuzzerData.cpp
getFuzzerData.h One more style related commit 2021-12-07 11:29:46 +00:00
getMacro.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
getScalar.cpp Analyzer support _shardNum column to shardNum() function rewrite 2023-03-01 18:03:42 +01:00
getServerPort.cpp Some cleanup of isDeterministic(InScopeOfQuery)() 2022-12-07 14:34:31 +00:00
getSetting.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
getSizeOfEnumType.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
getSubcolumn.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
getTypeSerializationStreams.cpp
globalVariable.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
greatCircleDistance.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
greater.cpp
greaterOrEquals.cpp
greatest.cpp
GregorianDate.h forbid old ctor of Exception 2023-01-23 22:18:05 +01:00
grouping.h Fixed build 2022-10-24 10:22:20 +02:00
h3CellAreaM2.cpp
h3CellAreaRads2.cpp
h3Distance.cpp
h3EdgeAngle.cpp fixes 2023-01-24 00:46:03 +01:00
h3EdgeLengthKm.cpp fixes 2023-01-24 00:46:03 +01:00
h3EdgeLengthM.cpp fixes 2023-01-24 00:46:03 +01:00
h3ExactEdgeLengthKm.cpp
h3ExactEdgeLengthM.cpp
h3ExactEdgeLengthRads.cpp
h3GetBaseCell.cpp
h3GetDestinationIndexFromUnidirectionalEdge.cpp
h3GetFaces.cpp
h3GetIndexesFromUnidirectionalEdge.cpp
h3GetOriginIndexFromUnidirectionalEdge.cpp
h3GetPentagonIndexes.cpp fixes 2023-01-24 00:46:03 +01:00
h3GetRes0Indexes.cpp
h3GetResolution.cpp
h3GetUnidirectionalEdge.cpp Consolidate config_functions.h into config.h 2022-09-28 12:48:26 +00:00
h3GetUnidirectionalEdgeBoundary.cpp
h3GetUnidirectionalEdgesFromHexagon.cpp
h3HexAreaKm2.cpp fixes 2023-01-24 00:46:03 +01:00
h3HexAreaM2.cpp fixes 2023-01-24 00:46:03 +01:00
h3HexRing.cpp
h3IndexesAreNeighbors.cpp
h3IsPentagon.cpp
h3IsResClassIII.cpp
h3IsValid.cpp
h3kRing.cpp
h3Line.cpp
h3NumHexagons.cpp fixes 2023-01-24 00:46:03 +01:00
h3PointDist.cpp
h3ToCenterChild.cpp
h3ToChildren.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
h3toGeo.cpp
h3ToGeoBoundary.cpp
h3ToParent.cpp
h3ToString.cpp
h3UnidirectionalEdgeIsValid.cpp
hasColumnInTable.cpp add some columns to system.clusters 2023-04-07 18:26:23 +02:00
hasThreadFuzzer.cpp
hasToken.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
hasTokenCaseInsensitive.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
HasTokenImpl.h Refine the solution 2023-01-23 14:27:48 -08:00
hypot.cpp
identity.cpp remove registration of function out of headers 2023-03-27 18:07:21 +00:00
identity.h remove registration of function out of headers 2023-03-27 18:07:21 +00:00
if.cpp Fixed tests 2023-06-05 10:32:46 +03:00
ifNotFinite.cpp
ifNull.cpp Remove PVS-Studio 2023-02-19 23:30:05 +01:00
IFunction.cpp Reduce inter-header dependencies 2023-05-02 21:15:18 +02:00
IFunction.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
IFunctionAdaptors.h Refactor FunctionNode 2022-12-02 19:15:26 +00:00
IFunctionCustomWeek.h Various test, code and docs fixups 2023-01-15 13:47:34 +00:00
IFunctionDateOrDateTime.h Fix datetime monotonicity check for LC 2023-03-22 07:41:31 +00:00
ignore.cpp
ilike.cpp
in.cpp Check getData() result in other places 2023-04-18 17:11:19 +02:00
indexHint.cpp
indexHint.h
initializeAggregation.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
initialQueryID.cpp
intDiv.cpp Clean up GCC warning pragmas 2023-04-11 18:21:08 +00:00
intDivOrZero.cpp
intExp2.cpp support string 2023-04-22 17:21:43 +00:00
intExp10.cpp support string 2023-04-22 17:21:43 +00:00
isConstant.cpp
isDecimalOverflow.cpp Remove PVS-Studio 2023-02-19 23:30:05 +01:00
isFinite.cpp Less use of CH-specific bit_cast() 2022-11-04 15:52:48 +00:00
isInfinite.cpp Less use of CH-specific bit_cast() 2022-11-04 15:52:48 +00:00
isIPAddressContainedIn.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
isNaN.cpp Remove PVS-Studio 2023-02-19 23:30:05 +01:00
isNotNull.cpp
isNull.cpp
isNullable.cpp
IsOperation.h fix 2023-04-23 11:31:23 +00:00
isValidUTF8.cpp Remove PVS-Studio 2023-02-19 23:30:05 +01:00
isZeroOrNull.cpp
ITupleFunction.h
JSONArrayLength.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
jumpConsistentHash.cpp
kostikConsistentHash.cpp Automated function registration 2022-07-29 15:39:50 +08:00
lcm.cpp
least.cpp
LeastGreatestGeneric.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
left.cpp
LeftRight.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
lemmatize.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
lengthUTF8.cpp add empty/notEmpty function support for IP types 2023-01-30 20:37:08 +00:00
less.cpp
lessOrEquals.cpp
lgamma.cpp
like.cpp
like.h
log1p.cpp
log2.cpp
log10.cpp
log.cpp
logTrace.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
lowCardinalityIndices.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
lowCardinalityKeys.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
lower.cpp
LowerUpperImpl.h
LowerUpperUTF8Impl.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
lowerUTF8.cpp
makeDate.cpp Fix style 2023-05-07 13:27:57 +00:00
map.cpp move code to cpp files 2023-04-20 16:17:30 +00:00
match.cpp
MatchImpl.h Fix incorrect LIKE-to-substring translation 2023-02-25 19:46:59 +00:00
materialize.cpp
materialize.h
mathConstants.cpp
max2.cpp
meiliMatch.cpp
min2.cpp
minSampleSize.cpp
minus.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
modulo.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
moduloOrZero.cpp
monthName.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
mortonDecode.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
mortonEncode.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
multiFuzzyMatchAllIndices.cpp
multiFuzzyMatchAny.cpp
multiFuzzyMatchAnyIndex.cpp
multiIf.cpp remove columnar impl when instructions contains short 2023-01-31 18:13:01 +08:00
multiMatchAllIndices.cpp
MultiMatchAllIndicesImpl.h Reject DoS-prone hyperscan regexes 2023-02-09 17:17:35 +00:00
multiMatchAny.cpp
MultiMatchAnyImpl.h Fix build 2023-02-10 11:25:59 +00:00
multiMatchAnyIndex.cpp
multiply.cpp
multiplyDecimal.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
multiSearchAllPositions.cpp
multiSearchAllPositionsCaseInsensitive.cpp
multiSearchAllPositionsCaseInsensitiveUTF8.cpp
MultiSearchAllPositionsImpl.h
multiSearchAllPositionsUTF8.cpp
multiSearchAny.cpp
multiSearchAnyCaseInsensitive.cpp
multiSearchAnyCaseInsensitiveUTF8.cpp
multiSearchAnyUTF8.cpp Automated function registration 2022-07-29 15:39:50 +08:00
multiSearchFirstIndex.cpp Automated function registration 2022-07-29 15:39:50 +08:00
multiSearchFirstIndexCaseInsensitive.cpp
multiSearchFirstIndexCaseInsensitiveUTF8.cpp
MultiSearchFirstIndexImpl.h Reject DoS-prone hyperscan regexes 2023-02-09 17:17:35 +00:00
multiSearchFirstIndexUTF8.cpp Automated function registration 2022-07-29 15:39:50 +08:00
multiSearchFirstPosition.cpp
multiSearchFirstPositionCaseInsensitive.cpp
multiSearchFirstPositionCaseInsensitiveUTF8.cpp
MultiSearchFirstPositionImpl.h Reject DoS-prone hyperscan regexes 2023-02-09 17:17:35 +00:00
multiSearchFirstPositionUTF8.cpp
MultiSearchImpl.h Reject DoS-prone hyperscan regexes 2023-02-09 17:17:35 +00:00
negate.cpp support string 2023-04-22 17:21:43 +00:00
neighbor.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
nested.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
normalizedQueryHash.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
normalizeQuery.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
normalizeString.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
notEmpty.cpp Automated function registration 2022-07-29 15:39:50 +08:00
notEquals.cpp
notILike.cpp
notLike.cpp Minor cleanups 2022-11-07 14:03:46 +00:00
now64.cpp Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
now.cpp Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
nowInBlock.cpp Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
nullIf.cpp
numLiteralChars.h change as requested 2023-03-06 17:08:55 +08:00
padString.cpp fix ast fuzzer error 2023-02-08 12:13:29 +08:00
parseDateTime.cpp fix some bad error messages, suppress others 2023-05-02 17:55:42 +02:00
parseTimeDelta.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
partitionId.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
PerformanceAdaptors.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
plus.cpp Fixes for -Wshorten-64-to-32 2022-10-21 13:25:19 +02:00
pointInEllipses.cpp Fix race between DROP MatView and RESTART REPLICAS (#47863) 2023-04-01 15:26:00 +03:00
pointInPolygon.cpp Fix race between DROP MatView and RESTART REPLICAS (#47863) 2023-04-01 15:26:00 +03:00
polygonArea.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
polygonConvexHull.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
polygonPerimeter.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
polygonsDistance.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
polygonsEquals.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
polygonsIntersection.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
polygonsSymDifference.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
polygonsUnion.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
polygonsWithin.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
PolygonUtils.h Clean up GCC warning pragmas 2023-04-11 18:21:08 +00:00
position.cpp
positionCaseInsensitive.cpp Add INSTR as alias of posionCaseInsensitive for MySQL compatibility 2023-03-13 15:44:38 +00:00
positionCaseInsensitiveUTF8.cpp
PositionImpl.h Minor doc follow-up to #45382 2023-01-31 10:31:01 +00:00
positionUTF8.cpp
pow.cpp
queryID.cpp
radians.cpp
rand64.cpp
rand.cpp
randConstant.cpp Fix incorrect code indentation 2023-03-26 17:14:01 +08:00
randDistribution.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
randomFixedString.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
randomPrintableASCII.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
randomString.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
randomStringUTF8.cpp Fix style 2023-05-11 09:29:05 +00:00
readWkt.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
regexpExtract.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
regexpQuoteMeta.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
Regexps.h Move likePatternToRegexp from Functions/ to Common/ 2023-02-27 16:41:15 +00:00
registerFunctions.cpp
registerFunctions.h
reinterpretAs.cpp fix format and some more fix for fixedstring 2023-05-10 13:06:30 -07:00
repeat.cpp Protect against DOS 2023-05-23 12:16:49 +00:00
replaceAll.cpp replace{One/All}(): allow non-const pattern and replacement arguments 2023-04-04 08:26:28 +00:00
replaceOne.cpp replace{One/All}(): allow non-const pattern and replacement arguments 2023-04-04 08:26:28 +00:00
replaceRegexpAll.cpp replace{One/All}(): allow non-const pattern and replacement arguments 2023-04-04 08:26:28 +00:00
ReplaceRegexpImpl.h replace{One/All}(): allow non-const pattern and replacement arguments 2023-04-04 08:26:28 +00:00
replaceRegexpOne.cpp replace{One/All}(): allow non-const pattern and replacement arguments 2023-04-04 08:26:28 +00:00
ReplaceStringImpl.h Fix darwin build 2023-04-05 12:07:22 +00:00
replicate.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
replicate.h
reverse.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
reverseDNSQuery.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
reverseUTF8.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
right.cpp
roundAge.cpp support string 2023-04-22 17:21:43 +00:00
roundDuration.cpp support string 2023-04-22 17:21:43 +00:00
roundToExp2.cpp support string 2023-04-22 17:21:43 +00:00
rowNumberInAllBlocks.cpp Fix flaky test 01459_manual_write_to_replicas_quorum_detach_attach and several typos 2023-01-03 16:27:51 +01:00
rowNumberInBlock.cpp Some cleanup of isDeterministic(InScopeOfQuery)() 2022-12-07 14:34:31 +00:00
runningAccumulate.cpp Remove PVS-Studio 2023-02-19 23:30:05 +01:00
runningConcurrency.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
runningDifference.cpp
runningDifference.h Add support for big int types to runningDifference() function 2023-03-08 00:52:58 +00:00
runningDifferenceStartingWithFirstValue.cpp
s2_fwd.h
s2CapContains.cpp
s2CapUnion.cpp
s2CellsIntersect.cpp
s2GetNeighbors.cpp
s2RectAdd.cpp
s2RectContains.cpp Consolidate config_functions.h into config.h 2022-09-28 12:48:26 +00:00
s2RectIntersection.cpp
s2RectUnion.cpp
s2ToGeo.cpp
serverConstants.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
sigmoid.cpp
sign.cpp support string 2023-04-22 17:21:43 +00:00
sin.cpp
sinh.cpp
sleep.cpp
sleep.h Merge branch 'master' into dev-prewhere 2023-02-14 18:39:13 +01:00
sleepEachRow.cpp
snowflake.cpp Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
soundex.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
space.cpp Fix macos build 2023-05-25 17:05:18 +00:00
sqrt.cpp
startsWith.cpp
stem.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
stringCutToZero.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
stringToH3.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
substring.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
subtractDays.cpp
subtractHours.cpp
subtractMinutes.cpp
subtractMonths.cpp
subtractQuarters.cpp
subtractSeconds.cpp
SubtractSubSeconds.cpp
subtractWeeks.cpp
subtractYears.cpp
svg.cpp Fix race between DROP MatView and RESTART REPLICAS (#47863) 2023-04-01 15:26:00 +03:00
synonyms.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
tan.cpp
tanh.cpp
tgamma.cpp
throwIf.cpp forbid runtime strings 2023-01-26 10:52:47 +01:00
tid.cpp
timeSlot.cpp
timeSlots.cpp Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
timezoneOf.cpp
timezoneOffset.cpp
toBool.cpp
toColumnTypeName.cpp
toCustomWeek.cpp Deprive toStartOfWeek and toLastDayOfWeek functions of in-source documentation 2023-05-29 22:10:34 +00:00
today.cpp Some cleanup of isDeterministic(InScopeOfQuery)() 2022-12-07 14:34:31 +00:00
toDayOfMonth.cpp
toDayOfWeek.cpp Revert "Revert "update function DAYOFWEEK and add new function WEEKDAY for mysql/spark compatiability"" 2023-01-13 14:00:16 +00:00
toDayOfYear.cpp
toFixedString.cpp
toFixedString.h Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
toHour.cpp
toISOWeek.cpp
toISOYear.cpp
toJSONString.cpp
tokenExtractors.cpp
toLastDayOfMonth.cpp
toLowCardinality.cpp
toMinute.cpp
toModifiedJulianDay.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
toMonday.cpp
toMonth.cpp
toNullable.cpp
toQuarter.cpp
toRelativeDayNum.cpp Replace is_extended_result by ResultPrecision 2022-10-20 08:18:22 +00:00
toRelativeHourNum.cpp Replace is_extended_result by ResultPrecision 2022-10-20 08:18:22 +00:00
toRelativeMinuteNum.cpp Replace is_extended_result by ResultPrecision 2022-10-20 08:18:22 +00:00
toRelativeMonthNum.cpp Replace is_extended_result by ResultPrecision 2022-10-20 08:18:22 +00:00
toRelativeQuarterNum.cpp Replace is_extended_result by ResultPrecision 2022-10-20 08:18:22 +00:00
toRelativeSecondNum.cpp Replace is_extended_result by ResultPrecision 2022-10-20 08:18:22 +00:00
toRelativeWeekNum.cpp Replace is_extended_result by ResultPrecision 2022-10-20 08:18:22 +00:00
toRelativeYearNum.cpp Replace is_extended_result by ResultPrecision 2022-10-20 08:18:22 +00:00
toSecond.cpp
toStartOfDay.cpp
toStartOfFifteenMinutes.cpp
toStartOfFiveMinutes.cpp
toStartOfHour.cpp Add FunctionDateOrDateTimeToDateTimeOrDateTime64; function toStartOfHour works 2022-09-21 12:58:57 +00:00
toStartOfInterval.cpp Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
toStartOfISOYear.cpp
toStartOfMinute.cpp
toStartOfMonth.cpp
toStartOfQuarter.cpp
toStartOfSecond.cpp
toStartOfSubsecond.cpp
toStartOfTenMinutes.cpp
toStartOfYear.cpp
toTime.cpp
toTimezone.cpp Add compat setting for non-const timezones 2023-06-10 16:56:42 +00:00
toTypeName.cpp
toUnixTimestamp64Micro.cpp
toUnixTimestamp64Milli.cpp
toUnixTimestamp64Nano.cpp
toValidUTF8.cpp Remove cruft from build 2023-03-17 13:44:04 +00:00
toYear.cpp
toYYYYMM.cpp
toYYYYMMDD.cpp
toYYYYMMDDhhmmss.cpp
transform.cpp Fix error in #48300 2023-05-07 04:16:18 +02:00
TransformDateTime64.h Revert "Revert "Add function 'age'"" 2022-12-20 10:18:43 +00:00
translate.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
trap.cpp Update trap.cpp 2023-02-25 02:24:29 +03:00
trim.cpp Register trim aliases in system.functions 2023-04-06 14:25:27 +00:00
tryBase58Decode.cpp
tryBase64Decode.cpp Add support for FixedString input to base64 functions 2022-11-02 08:14:28 -04:00
tryDecrypt.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
tuple.cpp Better formatting for exception messages (#45449) 2023-01-24 00:13:58 +03:00
tupleElement.cpp SIZES_OF_ARRAYS_DOESN_MATCH --> SIZES_OF_ARRAYS_DONT_MATCH 2023-02-27 08:31:40 +00:00
tupleHammingDistance.cpp Automated function registration 2022-07-29 15:39:50 +08:00
tupleToNameValuePairs.cpp
upper.cpp
upperUTF8.cpp
UTCTimestamp.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
validateNestedArraySizes.cpp SIZES_OF_ARRAYS_DOESN_MATCH --> SIZES_OF_ARRAYS_DONT_MATCH 2023-02-27 08:31:40 +00:00
VectorExtension.h
vectorFunctions.cpp Merge branch 'master' into dot_product 2023-05-17 14:40:06 +08:00
visibleWidth.cpp
visitParamExtractBool.cpp
visitParamExtractFloat.cpp
visitParamExtractInt.cpp
visitParamExtractRaw.cpp Register more aliases correctly 2022-08-28 00:14:38 +02:00
visitParamExtractString.cpp
visitParamExtractUInt.cpp
visitParamHas.cpp
widthBucket.cpp Introduce more fields for in-source function documentation 2023-05-05 21:30:21 +00:00
wkt.cpp
yesterday.cpp Some cleanup of isDeterministic(InScopeOfQuery)() 2022-12-07 14:34:31 +00:00
ztest.cpp Fix assertion in statistical functions 2023-02-08 00:09:41 +01:00