@@ -59,19 +59,19 @@ func (trino *Trino) QueryRowContext(ctx context.Context, query string, args ...i
5959}
6060
6161func (trino * Trino ) CompactTable (quotedTrinoTablePath string ) {
62- ctx := context .Background ()
62+ // ctx := context.Background()
6363
6464 // _, err := trino.ExecContext(ctx, "ALTER TABLE "+quotedTrinoTablePath+" EXECUTE optimize")
6565 // PanicIfError(trino.Config, err)
6666 //
6767 // _, err = trino.ExecContext(ctx, "ALTER TABLE "+quotedTrinoTablePath+" EXECUTE remove_orphan_files(retention_threshold => '0m')")
6868 // PanicIfError(trino.Config, err)
6969
70- _ , err := trino .ExecContext (ctx , "ALTER TABLE " + quotedTrinoTablePath + " EXECUTE optimize_manifests" )
71- PanicIfError (trino .Config , err )
72-
73- _ , err = trino .ExecContext (ctx , "ALTER TABLE " + quotedTrinoTablePath + " EXECUTE expire_snapshots(retention_threshold => '0m')" )
74- PanicIfError (trino .Config , err )
70+ // _, err := trino.ExecContext(ctx, "ALTER TABLE "+quotedTrinoTablePath+" EXECUTE optimize_manifests")
71+ // PanicIfError(trino.Config, err)
72+ //
73+ // _, err = trino.ExecContext(ctx, "ALTER TABLE "+quotedTrinoTablePath+" EXECUTE expire_snapshots(retention_threshold => '0m')")
74+ // PanicIfError(trino.Config, err)
7575}
7676
7777func (trino * Trino ) CreateSchemaIfNotExists () {
0 commit comments