Skip to content

Commit 80ce8a4

Browse files
committed
Remove unused struct
Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
1 parent 36cb02e commit 80ce8a4

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

catalog/sql/sql.go

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -153,19 +153,6 @@ type sqlIcebergNamespaceProps struct {
153153
PropertyValue sql.NullString
154154
}
155155

156-
type sqlIcebergView struct {
157-
bun.BaseModel `bun:"table:iceberg_views"`
158-
159-
CatalogName string `bun:",pk"`
160-
ViewNamespace string `bun:",pk"`
161-
ViewName string `bun:",pk"`
162-
ViewSQL string
163-
SchemaJSON string
164-
MetadataLocation sql.NullString
165-
PreviousMetadataLocation sql.NullString
166-
Properties map[string]string `bun:",json"`
167-
}
168-
169156
func withReadTx[R any](ctx context.Context, db *bun.DB, fn func(context.Context, bun.Tx) (R, error)) (result R, err error) {
170157
db.RunInTx(ctx, &sql.TxOptions{ReadOnly: true}, func(ctx context.Context, tx bun.Tx) error {
171158
result, err = fn(ctx, tx)

0 commit comments

Comments
 (0)