File tree Expand file tree Collapse file tree 5 files changed +5
-1
lines changed Expand file tree Collapse file tree 5 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1295,7 +1295,7 @@ class TKqpHost : public IKqpHost {
12951295 .SetQueryParameters (query.ParameterTypes )
12961296 .SetApplicationName (ApplicationName)
12971297 .SetIsEnablePgSyntax (SessionCtx->Config ().FeatureFlags .GetEnablePgSyntax ())
1298- .SetIsEnableAntlr4Parser (SessionCtx->Config ().EnableAntlr4Parser );
1298+ .SetIsEnableAntlr4Parser (SessionCtx->Config ().FeatureFlags . GetEnableAntlr4Parser () || SessionCtx-> Config (). EnableAntlr4Parser );
12991299 NSQLTranslation::TTranslationSettings effectiveSettings;
13001300 auto astRes = ParseQuery (
13011301 query.Text ,
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ TKikimrConfiguration::TKikimrConfiguration() {
5959 REGISTER_SETTING (*this , _KqpSlowLogNoticeThresholdMs);
6060 REGISTER_SETTING (*this , _KqpSlowLogTraceThresholdMs);
6161 REGISTER_SETTING (*this , _KqpYqlSyntaxVersion);
62+ REGISTER_SETTING (*this , _KqpYqlAntlr4Parser);
6263 REGISTER_SETTING (*this , _KqpAllowUnsafeCommit);
6364 REGISTER_SETTING (*this , _KqpMaxComputeActors);
6465 REGISTER_SETTING (*this , _KqpEnableSpilling);
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ struct TKikimrSettings {
3434 NCommon::TConfSetting<ui32, false > _KqpSlowLogNoticeThresholdMs;
3535 NCommon::TConfSetting<ui32, false > _KqpSlowLogTraceThresholdMs;
3636 NCommon::TConfSetting<ui32, false > _KqpYqlSyntaxVersion;
37+ NCommon::TConfSetting<bool , false > _KqpYqlAntlr4Parser;
3738 NCommon::TConfSetting<bool , false > _KqpAllowUnsafeCommit;
3839 NCommon::TConfSetting<ui32, false > _KqpMaxComputeActors;
3940 NCommon::TConfSetting<bool , false > _KqpEnableSpilling;
Original file line number Diff line number Diff line change @@ -176,4 +176,5 @@ message TFeatureFlags {
176176 optional bool EnableTopicAutopartitioningForReplication = 151 [default = false ];
177177 optional bool EnableDriveSerialsDiscovery = 152 [default = false ];
178178 optional bool EnableSeparateDiskSpaceQuotas = 153 [default = false ];
179+ optional bool EnableAntlr4Parser = 154 [default = false ];
179180}
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ class TTestFeatureFlagsHolder {
6565 FEATURE_FLAG_SETTER (EnableBackupService)
6666 FEATURE_FLAG_SETTER (EnableGranularTimecast)
6767 FEATURE_FLAG_SETTER (EnablePgSyntax)
68+ FEATURE_FLAG_SETTER (EnableAntlr4Parser)
6869 FEATURE_FLAG_SETTER (EnableTieringInColumnShard)
6970 FEATURE_FLAG_SETTER (EnableMetadataObjectsOnServerless)
7071 FEATURE_FLAG_SETTER (EnableOlapCompression)
You can’t perform that action at this time.
0 commit comments