Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore(pg): upgrade omni parser and migrate error tests to omni (#19672)
rebelice1292488a57f4
diff --git a/backend/plugin/parser/pg/parser_integration_test.go b/backend/plugin/parser/pg/parser_integration_test.goindex 933afb1f04..d19e05f8c4 100644--- a/backend/plugin/parser/pg/parser_integration_test.go+++ b/backend/plugin/parser/pg/parser_integration_test.go@@ -1,16 +1,14 @@package pgimport (+ "errors""testing"+ omniparser "github.com/bytebase/omni/pg/parser""github.com/stretchr/testify/require"-- storepb "github.com/bytebase/bytebase/backend/generated-go/store"- "github.com/bytebase/bytebase/backend/plugin/parser/base")-// TestParsePostgresErrorLine tests that the ANTLR parser correctly reports error line numbers.-// This test is in the pg package (not pg/legacy) to ensure the ANTLR parser is registered via init().+// TestParsePostgresErrorLine tests that the omni parser correctly reports error line numbers.func TestParsePostgresErrorLine(t *testing.T) {tests := []struct {name string@@ -47,13 +45,28 @@ FRAM t1;`,for _, test := range tests {t.Run(test.name, func(t *testing.T) {- _, err := base.ParseStatements(storepb.Engine_POSTGRES, test.statement)- require.Error(t, err)- syntaxErr, ok := err.(*base.SyntaxError)- require.True(t, ok, "expected *base.SyntaxError, got %T", err)- require.NotNil(t, syntaxErr.Position)- require.Equal(t, test.expectedLine, syntaxErr.Position.Line,- "incorrect error line for statement:\n%s", test.statement)+ stmts, err := SplitSQL(test.statement)+ require.NoError(t, err)++ for _, stmt := range stmts {+ if stmt.Empty {+ continue+ }+ _, parseErr := ParsePg(stmt.Text)+ if parseErr != nil {+ var pe *omniparser.ParseError+ require.True(t, errors.As(parseErr, &pe), "expected *ParseError, got %T", parseErr)+ pos := byteOffsetToRunePosition(stmt.Text, pe.Position)+ // Adjust line by the statement's base line.+ if stmt.Start != nil {+ pos.Line += stmt.Start.Line - 1+ }+ require.Equal(t, test.expectedLine, pos.Line,+ "incorrect error line for statement:\n%s", test.statement)+ return+ }+ }+ t.Fatalf("expected parse error for statement:\n%s", test.statement)})}}diff --git a/backend/plugin/parser/pg/pg_test.go b/backend/plugin/parser/pg/pg_test.goindex b5940fb8ae..191ba39518 100644--- a/backend/plugin/parser/pg/pg_test.go+++ b/backend/plugin/parser/pg/pg_test.go@@ -1,44 +1,68 @@package pgimport (+ "errors""testing"- parser "github.com/bytebase/parser/postgresql"+ omniparser "github.com/bytebase/omni/pg/parser""github.com/stretchr/testify/require")func TestPostgreSQLParser(t *testing.T) {tests := []struct {+ name stringstatement stringerrorMessage string}{{+ name: "valid multi-statement",statement: "SELECT * FROM t1 WHERE c1 = 1; SELECT * FROM t2;",},{+ name: "valid join",statement: "SELECT * FROM schema1.t1 JOIN schema2.t2 ON t1.c1 = t2.c1",},{+ name: "trailing FROM without table",statement: "SELECT a > (select max(a) from t1) FROM",- errorMessage: "Syntax error at line 1:40 \nrelated text: SELECT a > (select max(a) from t1) FROM",+ errorMessage: `syntax error at end of input`,},{+ name: "multi-statement with typo",statement: "SELECT 1;\n SELEC 5;\nSELECT 6;",- errorMessage: "Syntax error at line 2:4 \nrelated text: \n SELEC",+ errorMessage: `syntax error at or near "SELEC"`,+ },+ {+ name: "single statement with typo",+ statement: "SELECT * FRAM t1;",+ errorMessage: `syntax error at or near "FRAM"`,},}for _, test := range tests {- parseResults, err := ParsePostgreSQL(test.statement)- // Assert each element's Tree is a RootContext- for i, result := range parseResults {- _, ok := result.Tree.(*parser.RootContext)- require.True(t, ok, "parseResults[%d].Tree should be a RootContext", i)- }- if test.errorMessage == "" {+ t.Run(test.name, func(t *testing.T) {+ stmts, err := SplitSQL(test.statement)require.NoError(t, err)- } else {- require.EqualError(t, err, test.errorMessage)- }++ var firstErr error+ for _, stmt := range stmts {+ if stmt.Empty {+ continue+ }+ _, parseErr := ParsePg(stmt.Text)+ if parseErr != nil && firstErr == nil {+ firstErr = parseErr+ }+ }++ if test.errorMessage == "" {+ require.NoError(t, firstErr, "statement: %s", test.statement)+ } else {+ require.Error(t, firstErr)+ var pe *omniparser.ParseError+ require.True(t, errors.As(firstErr, &pe), "expected *ParseError, got %T", firstErr)+ require.Equal(t, test.errorMessage, pe.Message)+ }+ })}}diff --git a/backend/plugin/parser/pg/plsql_test.go b/backend/plugin/parser/pg/plsql_test.goindex 02b6ec2d9b..a3f9364ac6 100644--- a/backend/plugin/parser/pg/plsql_test.go+++ b/backend/plugin/parser/pg/plsql_test.go@@ -183,7 +183,7 @@ $$ LANGUAGE plpgsql;`,{name: "Malformed DO block",stmt: `DO $$ BEGIN`,- expected: true, // omni parser treats unterminated dollar-quote as consuming to EOF, producing a valid DoStmt+ expected: false, // omni parser returns error for unterminated dollar-quote},{name: "Multiple statements with DO block",diff --git a/backend/tests/test-data/sql_review_pg.yaml b/backend/tests/test-data/sql_review_pg.yamlindex 376c04c52b..f1e36247d1 100644--- a/backend/tests/test-data/sql_review_pg.yaml+++ b/backend/tests/test-data/sql_review_pg.yaml@@ -24,7 +24,7 @@{"status": "ERROR","title": "Syntax error",- "content": "Syntax error at line 1: unexpected token in statement",+ "content": "Syntax error at line 1: syntax error at or near \"user\"","code": 201,"sqlReviewReport": {"startPosition": {diff --git a/go.mod b/go.modindex ebd9e70a3e..83cbd9f9f1 100644--- a/go.mod+++ b/go.mod@@ -34,7 +34,7 @@ require (github.com/bmatcuk/doublestar/v4 v4.10.0github.com/bytebase/gomongo v0.0.0-20260211083148-d2ea344b4b65github.com/bytebase/lsp-protocol v0.0.0-20250324071136-1586d0c10ff0- github.com/bytebase/omni v0.0.0-20260318035856-4f43b2c93e35+ github.com/bytebase/omni v0.0.0-20260320071625-9e14087f53a2github.com/caarlos0/env/v11 v11.4.0github.com/cenkalti/backoff/v5 v5.0.3github.com/cockroachdb/cockroachdb-parser v0.25.2@@ -85,7 +85,7 @@ require (github.com/sourcegraph/jsonrpc2 v0.2.1github.com/spf13/cobra v1.10.2github.com/stretchr/testify v1.11.1- github.com/testcontainers/testcontainers-go v0.40.0+ github.com/testcontainers/testcontainers-go v0.41.0github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75github.com/trinodb/trino-go-client v0.333.0github.com/vjeantet/ldapserver v1.0.1@@ -161,7 +161,7 @@ require (github.com/docker/go-units v0.5.0 // indirectgithub.com/dustin/go-humanize v1.0.1 // indirectgithub.com/dvsekhvalnov/jose2go v1.8.0 // indirect- github.com/ebitengine/purego v0.8.4 // indirect+ github.com/ebitengine/purego v0.10.0 // indirectgithub.com/elastic/gosigar v0.14.3 // indirectgithub.com/envoyproxy/go-control-plane/envoy v1.36.0 // indirectgithub.com/felixge/httpsnoop v1.0.4 // indirect@@ -209,7 +209,7 @@ require (github.com/mitchellh/go-homedir v1.1.0 // indirectgithub.com/mitchellh/mapstructure v1.5.1-0.20220423185008-bf980b35cac4 // indirectgithub.com/moby/docker-image-spec v1.3.1 // indirect- github.com/moby/go-archive v0.1.0 // indirect+ github.com/moby/go-archive v0.2.0 // indirectgithub.com/moby/patternmatcher v0.6.0 // indirectgithub.com/moby/sys/sequential v0.6.0 // indirectgithub.com/moby/sys/user v0.4.0 // indirect@@ -236,12 +236,12 @@ require (github.com/ryanuber/go-glob v1.0.0 // indirectgithub.com/sasha-s/go-deadlock v0.3.5 // indirectgithub.com/segmentio/encoding v0.5.4 // indirect- github.com/shirou/gopsutil/v4 v4.25.6 // indirect+ github.com/shirou/gopsutil/v4 v4.26.2 // indirectgithub.com/shoenig/go-m1cpu v0.1.7 // indirectgithub.com/spiffe/go-spiffe/v2 v2.6.0 // indirectgithub.com/tiendc/go-deepcopy v1.7.2 // indirect- github.com/tklauser/go-sysconf v0.3.12 // indirect- github.com/tklauser/numcpus v0.6.1 // indirect+ github.com/tklauser/go-sysconf v0.3.16 // indirect+ github.com/tklauser/numcpus v0.11.0 // indirectgithub.com/twpayne/go-geom v1.4.1 // indirectgithub.com/twpayne/go-kml v1.5.2 // indirectgithub.com/uber/jaeger-client-go v2.30.0+incompatible // indirect@@ -257,9 +257,9 @@ require (go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.36.0 // indirectgo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.36.0 // indirectgo.opentelemetry.io/otel/exporters/zipkin v1.36.0 // indirect- go.opentelemetry.io/otel/metric v1.40.0 // indirect- go.opentelemetry.io/otel/sdk v1.40.0 // indirect- go.opentelemetry.io/otel/sdk/metric v1.40.0 // indirect+ go.opentelemetry.io/otel/metric v1.41.0 // indirect+ go.opentelemetry.io/otel/sdk v1.41.0 // indirect+ go.opentelemetry.io/otel/sdk/metric v1.41.0 // indirectgo.opentelemetry.io/proto/otlp v1.7.1 // indirectgo.uber.org/zap v1.27.1 // indirectgo.yaml.in/yaml/v2 v2.4.3 // indirect@@ -342,7 +342,7 @@ require (github.com/pingcap/log v1.1.1-0.20250917021125-19901e015dc9 // indirectgithub.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirectgithub.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect- github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b // indirect+ github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirectgithub.com/pquerna/cachecontrol v0.2.0 // indirectgithub.com/pquerna/otp v1.5.0github.com/prometheus/client_golang v1.23.2@@ -363,8 +363,8 @@ require (github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78github.com/yusufpapurcu/wmi v1.2.4 // indirectgo.opencensus.io v0.24.0 // indirect- go.opentelemetry.io/otel v1.40.0 // indirect- go.opentelemetry.io/otel/trace v1.40.0 // indirect+ go.opentelemetry.io/otel v1.41.0 // indirect+ go.opentelemetry.io/otel/trace v1.41.0 // indirectgo.uber.org/atomic v1.11.0 // indirectgolang.org/x/net v0.51.0golang.org/x/sync v0.19.0diff --git a/go.sum b/go.sumindex 295c4c5abd..a220223caf 100644--- a/go.sum+++ b/go.sum@@ -253,8 +253,8 @@ github.com/bytebase/gomongo v0.0.0-20260211083148-d2ea344b4b65 h1:RvViQx0e24DeDJgithub.com/bytebase/gomongo v0.0.0-20260211083148-d2ea344b4b65/go.mod h1:4dDI0RO2BK9/BD4VE+YqvlCj/qoVMquZ99QZdRlT8Wg=github.com/bytebase/lsp-protocol v0.0.0-20250324071136-1586d0c10ff0 h1:bJ8NSf2K+pccl5m/wuu97fiYjDwpJH6IzURAq/3XA2U=github.com/bytebase/lsp-protocol v0.0.0-20250324071136-1586d0c10ff0/go.mod h1:BEWMfiZtqshdmulKJcIsWb45MUaEvDO4CROcgi8dfFg=-github.com/bytebase/omni v0.0.0-20260318035856-4f43b2c93e35 h1:1z0q0B8LS8bmuOd2C2qC6UJKZSVz6cxHt09kItsqb/Y=-github.com/bytebase/omni v0.0.0-20260318035856-4f43b2c93e35/go.mod h1:sHnw/Do16VheYa+ThYDBzY98EbkwFwWBzxh2CQuOgD0=+github.com/bytebase/omni v0.0.0-20260320071625-9e14087f53a2 h1:m9Z3pHBovncCKG4vn190DdAXbXZrfHStkDm/5hgq2ow=+github.com/bytebase/omni v0.0.0-20260320071625-9e14087f53a2/go.mod h1:btZOCeNcueZehdqT+7YsLSVm+srVGSoPZYvFlITO2Z8=github.com/bytebase/parser v0.0.0-20260318084752-6c474df57697 h1:/WgqQxX/gLsHS1WOx1rs5M/8kE9ecQAsgnQmlSr7p3c=github.com/bytebase/parser v0.0.0-20260318084752-6c474df57697/go.mod h1:jeak/EfutSOAuWKvrFIT2IZunhWprM7oTFBRgZ9RCxo=github.com/bytebase/pgx/v5 v5.0.0-20250212161523-96ff8aed8767 h1:YuR5G3LcxpO5ScSTA+Kdirxg9RW4TRc/v1t7N2Hfmbw=@@ -380,8 +380,8 @@ github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpgithub.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto=github.com/dvsekhvalnov/jose2go v1.8.0 h1:LqkkVKAlHFfH9LOEl5fe4p/zL02OhWE7pCufMBG2jLA=github.com/dvsekhvalnov/jose2go v1.8.0/go.mod h1:QsHjhyTlD/lAVqn/NSbVZmSCGeDehTB/mPZadG+mhXU=-github.com/ebitengine/purego v0.8.4 h1:CF7LEKg5FFOsASUj0+QwaXf8Ht6TlFxg09+S9wz0omw=-github.com/ebitengine/purego v0.8.4/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ=+github.com/ebitengine/purego v0.10.0 h1:QIw4xfpWT6GWTzaW5XEKy3HXoqrJGx1ijYHzTF0/ISU=+github.com/ebitengine/purego v0.10.0/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ=github.com/elastic/go-elasticsearch/v7 v7.13.1 h1:PaM3V69wPlnwR+ne50rSKKn0RNDYnnOFQcuGEI0ce80=github.com/elastic/go-elasticsearch/v7 v7.13.1/go.mod h1:OJ4wdbtDNk5g503kvlHLyErCgQwwzmDtaFC4XyOxXA4=github.com/elastic/gosigar v0.14.3 h1:xwkKwPia+hSfg9GqrCUKYdId102m9qTJIIr7egmK/uo=@@ -763,8 +763,8 @@ github.com/mmcloughlin/geohash v0.9.0 h1:FihR004p/aE1Sju6gcVq5OLDqGcMnpBY+8moBqIgithub.com/mmcloughlin/geohash v0.9.0/go.mod h1:oNZxQo5yWJh0eMQEP/8hwQuVx9Z9tjwFUqcTB1SmG0c=github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3Nl2EsFP0=github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo=-github.com/moby/go-archive v0.1.0 h1:Kk/5rdW/g+H8NHdJW2gsXyZ7UnzvJNOy6VKJqueWdcQ=-github.com/moby/go-archive v0.1.0/go.mod h1:G9B+YoujNohJmrIYFBpSd54GTUB4lt9S+xVQvsJyFuo=+github.com/moby/go-archive v0.2.0 h1:zg5QDUM2mi0JIM9fdQZWC7U8+2ZfixfTYoHL7rWUcP8=+github.com/moby/go-archive v0.2.0/go.mod h1:mNeivT14o8xU+5q1YnNrkQVpK+dnNe/K6fHqnTg4qPU=github.com/moby/patternmatcher v0.6.0 h1:GmP9lR19aU5GqSSFko+5pRqHi+Ohk1O69aFiKkVGiPk=github.com/moby/patternmatcher v0.6.0/go.mod h1:hDPoyOpDY7OrrMDLaYoY3hf52gNCR/YOUYxkhApJIxc=github.com/moby/sys/atomicwriter v0.1.0 h1:kw5D/EqkBwsBFi0ss9v1VG3wIkVhzGvLklJ+w3A14Sw=@@ -881,8 +881,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNgithub.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=-github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b h1:0LFwY6Q3gMACTjAbMZBjXAqTOzOwFaj2Ld6cjeQ7Rig=-github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=+github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU=+github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=github.com/pquerna/cachecontrol v0.2.0 h1:vBXSNuE5MYP9IJ5kjsdo8uq+w41jSPgvba2DEnkRx9k=github.com/pquerna/cachecontrol v0.2.0/go.mod h1:NrUG3Z7Rdu85UNR3vm7SOsl1nFIeSiQnrHV5K9mBcUI=github.com/pquerna/otp v1.5.0 h1:NMMR+WrmaqXU4EzdGJEE1aUUI0AMRzsp96fFFWNPwxs=@@ -938,8 +938,8 @@ github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXgithub.com/shirou/gopsutil/v3 v3.21.12/go.mod h1:BToYZVTlSVlfazpDDYFnsVZLaoRG+g8ufT6fPQLdJzA=github.com/shirou/gopsutil/v3 v3.24.5 h1:i0t8kL+kQTvpAYToeuiVk3TgDeKOFioZO3Ztz/iZ9pI=github.com/shirou/gopsutil/v3 v3.24.5/go.mod h1:bsoOS1aStSs9ErQ1WWfxllSeS1K5D+U30r2NfcubMVk=-github.com/shirou/gopsutil/v4 v4.25.6 h1:kLysI2JsKorfaFPcYmcJqbzROzsBWEOAtw6A7dIfqXs=-github.com/shirou/gopsutil/v4 v4.25.6/go.mod h1:PfybzyydfZcN+JMMjkF6Zb8Mq1A/VcogFFg7hj50W9c=+github.com/shirou/gopsutil/v4 v4.26.2 h1:X8i6sicvUFih4BmYIGT1m2wwgw2VG9YgrDTi7cIRGUI=+github.com/shirou/gopsutil/v4 v4.26.2/go.mod h1:LZ6ewCSkBqUpvSOf+LsTGnRinC6iaNUNMGBtDkJBaLQ=github.com/shoenig/go-m1cpu v0.1.7 h1:C76Yd0ObKR82W4vhfjZiCp0HxcSZ8Nqd84v+HZ0qyI0=github.com/shoenig/go-m1cpu v0.1.7/go.mod h1:KkDOw6m3ZJQAPHbrzkZki4hnx+pDRR1Lo+ldA56wD5w=github.com/shoenig/test v1.7.0 h1:eWcHtTXa6QLnBvm0jgEabMRN/uJ4DMV3M8xUGgRkZmk=@@ -993,8 +993,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoOgithub.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=-github.com/testcontainers/testcontainers-go v0.40.0 h1:pSdJYLOVgLE8YdUY2FHQ1Fxu+aMnb6JfVz1mxk7OeMU=-github.com/testcontainers/testcontainers-go v0.40.0/go.mod h1:FSXV5KQtX2HAMlm7U3APNyLkkap35zNLxukw9oBi/MY=+github.com/testcontainers/testcontainers-go v0.41.0 h1:mfpsD0D36YgkxGj2LrIyxuwQ9i2wCKAD+ESsYM1wais=+github.com/testcontainers/testcontainers-go v0.41.0/go.mod h1:pdFrEIfaPl24zmBjerWTTYaY0M6UHsqA1YSvsoU40MI=github.com/testcontainers/testcontainers-go/modules/mongodb v0.40.0 h1:z/1qHeliTLDKNaJ7uOHOx1FjwghbcbYfga4dTFkF0hU=github.com/testcontainers/testcontainers-go/modules/mongodb v0.40.0/go.mod h1:GaunAWwMXLtsMKG3xn2HYIBDbKddGArfcGsF2Aog81E=github.com/the42/cartconvert v0.0.0-20131203171324-aae784c392b8 h1:I4DY8wLxJXCrMYzDM6lKCGc3IQwJX0PlTLsd3nQqI3c=@@ -1019,11 +1019,11 @@ github.com/tikv/pd/client v0.0.0-20250703091733-dfd345b89500/go.mod h1:SicyvcZE0github.com/tjfoc/gmsm v1.4.1 h1:aMe1GlZb+0bLjn+cKTPEvvn9oUEBlJitaZiiBwsbgho=github.com/tjfoc/gmsm v1.4.1/go.mod h1:j4INPkHWMrhJb38G+J6W4Tw0AbuN8Thu3PbdVYhVcTE=github.com/tklauser/go-sysconf v0.3.9/go.mod h1:11DU/5sG7UexIrp/O6g35hrWzu0JxlwQ3LSFUzyeuhs=-github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFAEVmqU=-github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI=+github.com/tklauser/go-sysconf v0.3.16 h1:frioLaCQSsF5Cy1jgRBrzr6t502KIIwQ0MArYICU0nA=+github.com/tklauser/go-sysconf v0.3.16/go.mod h1:/qNL9xxDhc7tx3HSRsLWNnuzbVfh3e7gh/BmM179nYI=github.com/tklauser/numcpus v0.3.0/go.mod h1:yFGUr7TUHQRAhyqBcEg0Ge34zDBAsIvJJcyE6boqnA8=-github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk=-github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY=+github.com/tklauser/numcpus v0.11.0 h1:nSTwhKH5e1dMNsCdVBukSZrURJRoHbSEQjdEbY+9RXw=+github.com/tklauser/numcpus v0.11.0/go.mod h1:z+LwcLq54uWZTX0u/bGobaV34u6V7KNlTZejzM6/3MQ=github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75 h1:6fotK7otjonDflCTK0BCfls4SPy3NcCVb5dqqmbRknE=github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75/go.mod h1:KO6IkyS8Y3j8OdNO85qEYBsRPuteD+YciPomcXdrMnk=github.com/trinodb/trino-go-client v0.333.0 h1:+bsW8/uLFNF00MEL9JZJym94LlUnle25VgDlWGPEZos=@@ -1106,24 +1106,24 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.6go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.63.0/go.mod h1:fvPi2qXDqFs8M4B4fmJhE92TyQs9Ydjlg3RvfUp+NbQ=go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0 h1:7iP2uCb7sGddAr30RRS6xjKy7AZ2JtTOPA3oolgVSw8=go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0/go.mod h1:c7hN3ddxs/z6q9xwvfLPk+UHlWRQyaeR1LdgfL/66l0=-go.opentelemetry.io/otel v1.40.0 h1:oA5YeOcpRTXq6NN7frwmwFR0Cn3RhTVZvXsP4duvCms=-go.opentelemetry.io/otel v1.40.0/go.mod h1:IMb+uXZUKkMXdPddhwAHm6UfOwJyh4ct1ybIlV14J0g=+go.opentelemetry.io/otel v1.41.0 h1:YlEwVsGAlCvczDILpUXpIpPSL/VPugt7zHThEMLce1c=+go.opentelemetry.io/otel v1.41.0/go.mod h1:Yt4UwgEKeT05QbLwbyHXEwhnjxNO6D8L5PQP51/46dE=go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.36.0 h1:dNzwXjZKpMpE2JhmO+9HsPl42NIXFIFSUSSs0fiqra0=go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.36.0/go.mod h1:90PoxvaEB5n6AOdZvi+yWJQoE95U8Dhhw2bSyRqnTD0=go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.36.0 h1:JgtbA0xkWHnTmYk7YusopJFX6uleBmAuZ8n05NEh8nQ=go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.36.0/go.mod h1:179AK5aar5R3eS9FucPy6rggvU0g52cvKId8pv4+v0c=-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0 h1:IeMeyr1aBvBiPVYihXIaeIZba6b8E1bYp7lbdxK8CQg=-go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.19.0/go.mod h1:oVdCUtjq9MK9BlS7TtucsQwUcXcymNiEDjgDD2jMtZU=+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.41.0 h1:inYW9ZhgqiDqh6BioM7DVHHzEGVq76Db5897WLGZ5Go=+go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.41.0/go.mod h1:Izur+Wt8gClgMJqO/cZ8wdeeMryJ/xxiOVgFSSfpDTY=go.opentelemetry.io/otel/exporters/zipkin v1.36.0 h1:s0n95ya5tOG03exJ5JySOdJFtwGo4ZQ+KeY7Zro4CLI=go.opentelemetry.io/otel/exporters/zipkin v1.36.0/go.mod h1:m9wRxtKA2MZ1HcnNC4BKI+9aYe434qRZTCvI7QGUN7Y=-go.opentelemetry.io/otel/metric v1.40.0 h1:rcZe317KPftE2rstWIBitCdVp89A2HqjkxR3c11+p9g=-go.opentelemetry.io/otel/metric v1.40.0/go.mod h1:ib/crwQH7N3r5kfiBZQbwrTge743UDc7DTFVZrrXnqc=-go.opentelemetry.io/otel/sdk v1.40.0 h1:KHW/jUzgo6wsPh9At46+h4upjtccTmuZCFAc9OJ71f8=-go.opentelemetry.io/otel/sdk v1.40.0/go.mod h1:Ph7EFdYvxq72Y8Li9q8KebuYUr2KoeyHx0DRMKrYBUE=-go.opentelemetry.io/otel/sdk/metric v1.40.0 h1:mtmdVqgQkeRxHgRv4qhyJduP3fYJRMX4AtAlbuWdCYw=-go.opentelemetry.io/otel/sdk/metric v1.40.0/go.mod h1:4Z2bGMf0KSK3uRjlczMOeMhKU2rhUqdWNoKcYrtcBPg=-go.opentelemetry.io/otel/trace v1.40.0 h1:WA4etStDttCSYuhwvEa8OP8I5EWu24lkOzp+ZYblVjw=-go.opentelemetry.io/otel/trace v1.40.0/go.mod h1:zeAhriXecNGP/s2SEG3+Y8X9ujcJOTqQ5RgdEJcawiA=+go.opentelemetry.io/otel/metric v1.41.0 h1:rFnDcs4gRzBcsO9tS8LCpgR0dxg4aaxWlJxCno7JlTQ=+go.opentelemetry.io/otel/metric v1.41.0/go.mod h1:xPvCwd9pU0VN8tPZYzDZV/BMj9CM9vs00GuBjeKhJps=+go.opentelemetry.io/otel/sdk v1.41.0 h1:YPIEXKmiAwkGl3Gu1huk1aYWwtpRLeskpV+wPisxBp8=+go.opentelemetry.io/otel/sdk v1.41.0/go.mod h1:ahFdU0G5y8IxglBf0QBJXgSe7agzjE4GiTJ6HT9ud90=+go.opentelemetry.io/otel/sdk/metric v1.41.0 h1:siZQIYBAUd1rlIWQT2uCxWJxcCO7q3TriaMlf08rXw8=+go.opentelemetry.io/otel/sdk/metric v1.41.0/go.mod h1:HNBuSvT7ROaGtGI50ArdRLUnvRTRGniSUZbxiWxSO8Y=+go.opentelemetry.io/otel/trace v1.41.0 h1:Vbk2co6bhj8L59ZJ6/xFTskY+tGAbOnCtQGVVa9TIN0=+go.opentelemetry.io/otel/trace v1.41.0/go.mod h1:U1NU4ULCoxeDKc09yCWdWe+3QoyweJcISEVa1RBzOis=go.opentelemetry.io/proto/otlp v1.7.1 h1:gTOMpGDb0WTBOP8JaO72iL3auEZhVmAQg4ipjOVAtj4=go.opentelemetry.io/proto/otlp v1.7.1/go.mod h1:b2rVh6rfI/s2pHWNlB7ILJcRALpcNDzKhACevjI+ZnE=go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE=@@ -1273,7 +1273,6 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBcgolang.org/x/sys v0.1.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=-golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=golang.org/x/sys v0.41.0 h1:Ivj+2Cp/ylzLiEU89QhWblYnOE9zerudt9Ftecq2C6k=