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 {
1295
1295
.SetQueryParameters (query.ParameterTypes )
1296
1296
.SetApplicationName (ApplicationName)
1297
1297
.SetIsEnablePgSyntax (SessionCtx->Config ().FeatureFlags .GetEnablePgSyntax ())
1298
- .SetIsEnableAntlr4Parser (SessionCtx->Config ().EnableAntlr4Parser );
1298
+ .SetIsEnableAntlr4Parser (SessionCtx->Config ().FeatureFlags . GetEnableAntlr4Parser () || SessionCtx-> Config (). EnableAntlr4Parser );
1299
1299
NSQLTranslation::TTranslationSettings effectiveSettings;
1300
1300
auto astRes = ParseQuery (
1301
1301
query.Text ,
Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ TKikimrConfiguration::TKikimrConfiguration() {
59
59
REGISTER_SETTING (*this , _KqpSlowLogNoticeThresholdMs);
60
60
REGISTER_SETTING (*this , _KqpSlowLogTraceThresholdMs);
61
61
REGISTER_SETTING (*this , _KqpYqlSyntaxVersion);
62
+ REGISTER_SETTING (*this , _KqpYqlAntlr4Parser);
62
63
REGISTER_SETTING (*this , _KqpAllowUnsafeCommit);
63
64
REGISTER_SETTING (*this , _KqpMaxComputeActors);
64
65
REGISTER_SETTING (*this , _KqpEnableSpilling);
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ struct TKikimrSettings {
34
34
NCommon::TConfSetting<ui32, false > _KqpSlowLogNoticeThresholdMs;
35
35
NCommon::TConfSetting<ui32, false > _KqpSlowLogTraceThresholdMs;
36
36
NCommon::TConfSetting<ui32, false > _KqpYqlSyntaxVersion;
37
+ NCommon::TConfSetting<bool , false > _KqpYqlAntlr4Parser;
37
38
NCommon::TConfSetting<bool , false > _KqpAllowUnsafeCommit;
38
39
NCommon::TConfSetting<ui32, false > _KqpMaxComputeActors;
39
40
NCommon::TConfSetting<bool , false > _KqpEnableSpilling;
Original file line number Diff line number Diff line change @@ -176,4 +176,5 @@ message TFeatureFlags {
176
176
optional bool EnableTopicAutopartitioningForReplication = 151 [default = false ];
177
177
optional bool EnableDriveSerialsDiscovery = 152 [default = false ];
178
178
optional bool EnableSeparateDiskSpaceQuotas = 153 [default = false ];
179
+ optional bool EnableAntlr4Parser = 154 [default = false ];
179
180
}
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ class TTestFeatureFlagsHolder {
65
65
FEATURE_FLAG_SETTER (EnableBackupService)
66
66
FEATURE_FLAG_SETTER (EnableGranularTimecast)
67
67
FEATURE_FLAG_SETTER (EnablePgSyntax)
68
+ FEATURE_FLAG_SETTER (EnableAntlr4Parser)
68
69
FEATURE_FLAG_SETTER (EnableTieringInColumnShard)
69
70
FEATURE_FLAG_SETTER (EnableMetadataObjectsOnServerless)
70
71
FEATURE_FLAG_SETTER (EnableOlapCompression)
You can’t perform that action at this time.
0 commit comments