@@ -48,7 +48,6 @@ type QuesmaNewConfiguration struct {
4848 Processors []Processor `koanf:"processors"`
4949 Pipelines []Pipeline `koanf:"pipelines"`
5050 DisableTelemetry bool `koanf:"disableTelemetry"`
51- UseCommonTable bool `koanf:"useCommonTable"` // global setting
5251}
5352
5453type LoggingConfiguration struct {
@@ -528,8 +527,6 @@ func (c *QuesmaNewConfiguration) TranslateToLegacyConfig() QuesmaConfiguration {
528527 conf .Logging .RemoteLogDrainUrl = nil
529528 }
530529
531- conf .CreateCommonTable = c .UseCommonTable
532-
533530 conf .InstallationId = c .InstallationId
534531 conf .LicenseKey = c .LicenseKey
535532
@@ -568,10 +565,6 @@ func (c *QuesmaNewConfiguration) TranslateToLegacyConfig() QuesmaConfiguration {
568565 if val , exists := target .properties ["useCommonTable" ]; exists {
569566 conf .CreateCommonTable = val == "true"
570567 conf .UseCommonTableForWildcard = val == "true"
571- } else {
572- // inherit global setting
573- conf .CreateCommonTable = c .UseCommonTable
574- conf .UseCommonTableForWildcard = c .UseCommonTable
575568 }
576569 }
577570
@@ -607,9 +600,6 @@ func (c *QuesmaNewConfiguration) TranslateToLegacyConfig() QuesmaConfiguration {
607600 }
608601 if val , exists := target .properties ["useCommonTable" ]; exists {
609602 processedConfig .UseCommonTable = val == "true"
610- } else {
611- // inherit global setting
612- processedConfig .UseCommonTable = c .UseCommonTable
613603 }
614604 if val , exists := target .properties ["tableName" ]; exists {
615605 processedConfig .Override = val .(string )
@@ -670,10 +660,6 @@ func (c *QuesmaNewConfiguration) TranslateToLegacyConfig() QuesmaConfiguration {
670660 if val , exists := target .properties ["useCommonTable" ]; exists {
671661 conf .CreateCommonTable = val == "true"
672662 conf .UseCommonTableForWildcard = val == "true"
673- } else {
674- // inherit global setting
675- conf .CreateCommonTable = c .UseCommonTable
676- conf .UseCommonTableForWildcard = c .UseCommonTable
677663 }
678664 }
679665 if defaultConfig .SchemaOverrides != nil {
@@ -700,10 +686,6 @@ func (c *QuesmaNewConfiguration) TranslateToLegacyConfig() QuesmaConfiguration {
700686 if val , exists := target .properties ["useCommonTable" ]; exists {
701687 conf .CreateCommonTable = val == "true"
702688 conf .UseCommonTableForWildcard = val == "true"
703- } else {
704- // inherit global setting
705- conf .CreateCommonTable = c .UseCommonTable
706- conf .UseCommonTableForWildcard = c .UseCommonTable
707689 }
708690 }
709691 if ingestProcessorDefaultIndexConfig .SchemaOverrides != nil {
@@ -748,9 +730,6 @@ func (c *QuesmaNewConfiguration) TranslateToLegacyConfig() QuesmaConfiguration {
748730 }
749731 if val , exists := target .properties ["useCommonTable" ]; exists {
750732 processedConfig .UseCommonTable = val == true
751- } else {
752- // inherit global setting
753- processedConfig .UseCommonTable = c .UseCommonTable
754733 }
755734 if val , exists := target .properties ["tableName" ]; exists {
756735 processedConfig .Override = val .(string )
@@ -800,9 +779,6 @@ func (c *QuesmaNewConfiguration) TranslateToLegacyConfig() QuesmaConfiguration {
800779 }
801780 if val , exists := target .properties ["useCommonTable" ]; exists {
802781 processedConfig .UseCommonTable = val == true
803- } else {
804- // inherit global setting
805- processedConfig .UseCommonTable = c .UseCommonTable
806782 }
807783 if val , exists := target .properties ["tableName" ]; exists {
808784 processedConfig .Override = val .(string )
0 commit comments