diff --git a/go.mod b/go.mod index 5a947c3..c61cc9a 100644 --- a/go.mod +++ b/go.mod @@ -3,8 +3,8 @@ module go.einride.tech/spanner-aip go 1.23.2 require ( - cloud.google.com/go v0.118.1 - cloud.google.com/go/spanner v1.73.0 + cloud.google.com/go v0.116.0 + cloud.google.com/go/spanner v1.70.0 github.com/google/go-cmp v0.6.0 github.com/stoewer/go-strcase v1.3.0 go.einride.tech/aip v0.68.1 @@ -22,9 +22,9 @@ require ( cloud.google.com/go/auth v0.14.0 // indirect cloud.google.com/go/auth/oauth2adapt v0.2.7 // indirect cloud.google.com/go/compute/metadata v0.6.0 // indirect - cloud.google.com/go/iam v1.3.1 // indirect - cloud.google.com/go/longrunning v0.6.4 // indirect - cloud.google.com/go/monitoring v1.23.0 // indirect + cloud.google.com/go/iam v1.3.0 // indirect + cloud.google.com/go/longrunning v0.6.3 // indirect + cloud.google.com/go/monitoring v1.22.0 // indirect github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.5.0 // indirect github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.25.0 // indirect github.com/census-instrumentation/opencensus-proto v0.4.1 // indirect @@ -57,6 +57,6 @@ require ( golang.org/x/sys v0.29.0 // indirect golang.org/x/text v0.21.0 // indirect golang.org/x/time v0.9.0 // indirect - google.golang.org/genproto v0.0.0-20250122153221-138b5a5a4fd4 // indirect + google.golang.org/genproto v0.0.0-20241015192408-796eee8c2d53 // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20250124145028-65684f501c47 // indirect ) diff --git a/go.sum b/go.sum index b6f03d7..3b17f86 100644 --- a/go.sum +++ b/go.sum @@ -38,8 +38,8 @@ cloud.google.com/go v0.104.0/go.mod h1:OO6xxXdJyvuJPcEPBLN9BJPD+jep5G1+2U5B5gkRY cloud.google.com/go v0.105.0/go.mod h1:PrLgOJNe5nfE9UMxKxgXj4mD3voiP+YQ6gdt6KMFOKM= cloud.google.com/go v0.107.0/go.mod h1:wpc2eNrD7hXUTy8EKS10jkxpZBjASrORK7goS+3YX2I= cloud.google.com/go v0.110.0/go.mod h1:SJnCLqQ0FCFGSZMUNUf84MV3Aia54kn7pi8st7tMzaY= -cloud.google.com/go v0.118.1 h1:b8RATMcrK9A4BH0rj8yQupPXp+aP+cJ0l6H7V9osV1E= -cloud.google.com/go v0.118.1/go.mod h1:CFO4UPEPi8oV21xoezZCrd3d81K4fFkDTEJu4R8K+9M= +cloud.google.com/go v0.116.0 h1:B3fRrSDkLRt5qSHWe40ERJvhvnQwdZiHu0bJOpldweE= +cloud.google.com/go v0.116.0/go.mod h1:cEPSRWPzZEswwdr9BxE6ChEn01dWlTaF05LiC2Xs70U= cloud.google.com/go/accessapproval v1.4.0/go.mod h1:zybIuC3KpDOvotz59lFe5qxRZx6C75OtwbisN56xYB4= cloud.google.com/go/accessapproval v1.5.0/go.mod h1:HFy3tuiGvMdcd/u+Cu5b9NkO1pEICJ46IR82PoUdplw= cloud.google.com/go/accessapproval v1.6.0/go.mod h1:R0EiYnwV5fsRFiKZkPHr6mwyk2wxUJ30nL4j2pcFY2E= @@ -319,8 +319,8 @@ cloud.google.com/go/iam v0.8.0/go.mod h1:lga0/y3iH6CX7sYqypWJ33hf7kkfXJag67naqGE cloud.google.com/go/iam v0.11.0/go.mod h1:9PiLDanza5D+oWFZiH1uG+RnRCfEGKoyl6yo4cgWZGY= cloud.google.com/go/iam v0.12.0/go.mod h1:knyHGviacl11zrtZUoDuYpDgLjvr28sLQaG0YB2GYAY= cloud.google.com/go/iam v0.13.0/go.mod h1:ljOg+rcNfzZ5d6f1nAUJ8ZIxOaZUVoS14bKCtaLZ/D0= -cloud.google.com/go/iam v1.3.1 h1:KFf8SaT71yYq+sQtRISn90Gyhyf4X8RGgeAVC8XGf3E= -cloud.google.com/go/iam v1.3.1/go.mod h1:3wMtuyT4NcbnYNPLMBzYRFiEfjKfJlLVLrisE7bwm34= +cloud.google.com/go/iam v1.3.0 h1:4Wo2qTaGKFtajbLpF6I4mywg900u3TLlHDb6mriLDPU= +cloud.google.com/go/iam v1.3.0/go.mod h1:0Ys8ccaZHdI1dEUilwzqng/6ps2YB6vRsjIe00/+6JY= cloud.google.com/go/iap v1.4.0/go.mod h1:RGFwRJdihTINIe4wZ2iCP0zF/qu18ZwyKxrhMhygBEc= cloud.google.com/go/iap v1.5.0/go.mod h1:UH/CGgKd4KyohZL5Pt0jSKE4m3FR51qg6FKQ/z/Ix9A= cloud.google.com/go/iap v1.6.0/go.mod h1:NSuvI9C/j7UdjGjIde7t7HBz+QTwBcapPE07+sSRcLk= @@ -353,8 +353,8 @@ cloud.google.com/go/logging v1.7.0/go.mod h1:3xjP2CjkM3ZkO73aj4ASA5wRPGGCRrPIAeN cloud.google.com/go/longrunning v0.1.1/go.mod h1:UUFxuDWkv22EuY93jjmDMFT5GPQKeFVJBIF6QlTqdsE= cloud.google.com/go/longrunning v0.3.0/go.mod h1:qth9Y41RRSUE69rDcOn6DdK3HfQfsUI0YSmW3iIlLJc= cloud.google.com/go/longrunning v0.4.1/go.mod h1:4iWDqhBZ70CvZ6BfETbvam3T8FMvLK+eFj0E6AaRQTo= -cloud.google.com/go/longrunning v0.6.4 h1:3tyw9rO3E2XVXzSApn1gyEEnH2K9SynNQjMlBi3uHLg= -cloud.google.com/go/longrunning v0.6.4/go.mod h1:ttZpLCe6e7EXvn9OxpBRx7kZEB0efv8yBO6YnVMfhJs= +cloud.google.com/go/longrunning v0.6.3 h1:A2q2vuyXysRcwzqDpMMLSI6mb6o39miS52UEG/Rd2ng= +cloud.google.com/go/longrunning v0.6.3/go.mod h1:k/vIs83RN4bE3YCswdXC5PFfWVILjm3hpEUlSko4PiI= cloud.google.com/go/managedidentities v1.3.0/go.mod h1:UzlW3cBOiPrzucO5qWkNkh0w33KFtBJU281hacNvsdE= cloud.google.com/go/managedidentities v1.4.0/go.mod h1:NWSBYbEMgqmbZsLIyKvxrYbtqOsxY1ZrGM+9RgDqInM= cloud.google.com/go/managedidentities v1.5.0/go.mod h1:+dWcZ0JlUmpuxpIDfyP5pP5y0bLdRwOS4Lp7gMni/LA= @@ -378,8 +378,8 @@ cloud.google.com/go/monitoring v1.7.0/go.mod h1:HpYse6kkGo//7p6sT0wsIC6IBDET0RhI cloud.google.com/go/monitoring v1.8.0/go.mod h1:E7PtoMJ1kQXWxPjB6mv2fhC5/15jInuulFdYYtlcvT4= cloud.google.com/go/monitoring v1.12.0/go.mod h1:yx8Jj2fZNEkL/GYZyTLS4ZtZEZN8WtDEiEqG4kLK50w= cloud.google.com/go/monitoring v1.13.0/go.mod h1:k2yMBAB1H9JT/QETjNkgdCGD9bPF712XiLTVr+cBrpw= -cloud.google.com/go/monitoring v1.23.0 h1:M3nXww2gn9oZ/qWN2bZ35CjolnVHM3qnSbu6srCPgjk= -cloud.google.com/go/monitoring v1.23.0/go.mod h1:034NnlQPDzrQ64G2Gavhl0LUHZs9H3rRmhtnp7jiJgg= +cloud.google.com/go/monitoring v1.22.0 h1:mQ0040B7dpuRq1+4YiQD43M2vW9HgoVxY98xhqGT+YI= +cloud.google.com/go/monitoring v1.22.0/go.mod h1:hS3pXvaG8KgWTSz+dAdyzPrGUYmi2Q+WFX8g2hqVEZU= cloud.google.com/go/networkconnectivity v1.4.0/go.mod h1:nOl7YL8odKyAOtzNX73/M5/mGZgqqMeryi6UPZTk/rA= cloud.google.com/go/networkconnectivity v1.5.0/go.mod h1:3GzqJx7uhtlM3kln0+x5wyFvuVH1pIBJjhCpjzSt75o= cloud.google.com/go/networkconnectivity v1.6.0/go.mod h1:OJOoEXW+0LAxHh89nXd64uGG+FbQoeH8DtxCHVOMlaM= @@ -526,8 +526,8 @@ cloud.google.com/go/shell v1.6.0/go.mod h1:oHO8QACS90luWgxP3N9iZVuEiSF84zNyLytb+ cloud.google.com/go/spanner v1.41.0/go.mod h1:MLYDBJR/dY4Wt7ZaMIQ7rXOTLjYrmxLE/5ve9vFfWos= cloud.google.com/go/spanner v1.44.0/go.mod h1:G8XIgYdOK+Fbcpbs7p2fiprDw4CaZX63whnSMLVBxjk= cloud.google.com/go/spanner v1.45.0/go.mod h1:FIws5LowYz8YAE1J8fOS7DJup8ff7xJeetWEo5REA2M= -cloud.google.com/go/spanner v1.73.0 h1:0bab8QDn6MNj9lNK6XyGAVFhMlhMU2waePPa6GZNoi8= -cloud.google.com/go/spanner v1.73.0/go.mod h1:mw98ua5ggQXVWwp83yjwggqEmW9t8rjs9Po1ohcUGW4= +cloud.google.com/go/spanner v1.70.0 h1:nj6p/GJTgMDiSQ1gQ034ItsKuJgHiMOjtOlONOg8PSo= +cloud.google.com/go/spanner v1.70.0/go.mod h1:X5T0XftydYp0K1adeJQDJtdWpbrOeJ7wHecM4tK6FiE= cloud.google.com/go/speech v1.6.0/go.mod h1:79tcr4FHCimOp56lwC01xnt/WPJZc4v3gzyT7FoBkCM= cloud.google.com/go/speech v1.7.0/go.mod h1:KptqL+BAQIhMsj1kOP2la5DSEEerPDuOP/2mmkhHhZQ= cloud.google.com/go/speech v1.8.0/go.mod h1:9bYIl1/tjsAnMgKGHKmBZzXKEkGgtU+MpdDPTE9f7y0= @@ -1503,8 +1503,8 @@ google.golang.org/genproto v0.0.0-20230323212658-478b75c54725/go.mod h1:UUQDJDOl google.golang.org/genproto v0.0.0-20230330154414-c0448cd141ea/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= google.golang.org/genproto v0.0.0-20230331144136-dcfb400f0633/go.mod h1:UUQDJDOlWu4KYeJZffbWgBkS1YFobzKbLVfK69pe0Ak= google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= -google.golang.org/genproto v0.0.0-20250122153221-138b5a5a4fd4 h1:Pw6WnI9W/LIdRxqK7T6XGugGbHIRl5Q7q3BssH6xk4s= -google.golang.org/genproto v0.0.0-20250122153221-138b5a5a4fd4/go.mod h1:qbZzneIOXSq+KFAFut9krLfRLZiFLzZL5u2t8SV83EE= +google.golang.org/genproto v0.0.0-20241015192408-796eee8c2d53 h1:Df6WuGvthPzc+JiQ/G+m+sNX24kc0aTBqoDN/0yyykE= +google.golang.org/genproto v0.0.0-20241015192408-796eee8c2d53/go.mod h1:fheguH3Am2dGp1LfXkrvwqC/KlFq8F0nLq3LryOMrrE= google.golang.org/genproto/googleapis/api v0.0.0-20250124145028-65684f501c47 h1:5iw9XJTD4thFidQmFVvx0wi4g5yOHk76rNRUxz1ZG5g= google.golang.org/genproto/googleapis/api v0.0.0-20250124145028-65684f501c47/go.mod h1:AfA77qWLcidQWywD0YgqfpJzf50w2VjzBml3TybHeJU= google.golang.org/genproto/googleapis/rpc v0.0.0-20250124145028-65684f501c47 h1:91mG8dNTpkC0uChJUQ9zCiRqx3GEEFOWaRZ0mI6Oj2I= diff --git a/internal/examples/freightdb/descriptor_gen.go b/internal/examples/freightdb/descriptor_gen.go index 302f530..c9caaa3 100644 --- a/internal/examples/freightdb/descriptor_gen.go +++ b/internal/examples/freightdb/descriptor_gen.go @@ -14,25 +14,25 @@ var descriptor = databaseDescriptor{ tableID: "shippers", shipperId: columnDescriptor{ columnID: "shipper_id", - columnType: spansql.Type{Array: false, Base: 4, Len: 63, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 63}, notNull: true, allowCommitTimestamp: false, }, createTime: columnDescriptor{ columnID: "create_time", - columnType: spansql.Type{Array: false, Base: 7, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 7, Len: 0}, notNull: true, allowCommitTimestamp: true, }, updateTime: columnDescriptor{ columnID: "update_time", - columnType: spansql.Type{Array: false, Base: 7, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 7, Len: 0}, notNull: true, allowCommitTimestamp: true, }, deleteTime: columnDescriptor{ columnID: "delete_time", - columnType: spansql.Type{Array: false, Base: 7, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 7, Len: 0}, notNull: false, allowCommitTimestamp: true, }, @@ -41,55 +41,55 @@ var descriptor = databaseDescriptor{ tableID: "sites", shipperId: columnDescriptor{ columnID: "shipper_id", - columnType: spansql.Type{Array: false, Base: 4, Len: 63, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 63}, notNull: true, allowCommitTimestamp: false, }, siteId: columnDescriptor{ columnID: "site_id", - columnType: spansql.Type{Array: false, Base: 4, Len: 63, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 63}, notNull: true, allowCommitTimestamp: false, }, createTime: columnDescriptor{ columnID: "create_time", - columnType: spansql.Type{Array: false, Base: 7, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 7, Len: 0}, notNull: true, allowCommitTimestamp: true, }, updateTime: columnDescriptor{ columnID: "update_time", - columnType: spansql.Type{Array: false, Base: 7, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 7, Len: 0}, notNull: true, allowCommitTimestamp: true, }, deleteTime: columnDescriptor{ columnID: "delete_time", - columnType: spansql.Type{Array: false, Base: 7, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 7, Len: 0}, notNull: false, allowCommitTimestamp: true, }, displayName: columnDescriptor{ columnID: "display_name", - columnType: spansql.Type{Array: false, Base: 4, Len: 63, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 63}, notNull: false, allowCommitTimestamp: false, }, latitude: columnDescriptor{ columnID: "latitude", - columnType: spansql.Type{Array: false, Base: 2, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 2, Len: 0}, notNull: false, allowCommitTimestamp: false, }, longitude: columnDescriptor{ columnID: "longitude", - columnType: spansql.Type{Array: false, Base: 2, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 2, Len: 0}, notNull: false, allowCommitTimestamp: false, }, config: columnDescriptor{ columnID: "config", - columnType: spansql.Type{Array: false, Base: 8, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 8, Len: 0}, notNull: false, allowCommitTimestamp: false, }, @@ -98,67 +98,67 @@ var descriptor = databaseDescriptor{ tableID: "shipments", shipperId: columnDescriptor{ columnID: "shipper_id", - columnType: spansql.Type{Array: false, Base: 4, Len: 63, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 63}, notNull: true, allowCommitTimestamp: false, }, shipmentId: columnDescriptor{ columnID: "shipment_id", - columnType: spansql.Type{Array: false, Base: 4, Len: 63, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 63}, notNull: true, allowCommitTimestamp: false, }, createTime: columnDescriptor{ columnID: "create_time", - columnType: spansql.Type{Array: false, Base: 7, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 7, Len: 0}, notNull: true, allowCommitTimestamp: true, }, updateTime: columnDescriptor{ columnID: "update_time", - columnType: spansql.Type{Array: false, Base: 7, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 7, Len: 0}, notNull: true, allowCommitTimestamp: true, }, deleteTime: columnDescriptor{ columnID: "delete_time", - columnType: spansql.Type{Array: false, Base: 7, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 7, Len: 0}, notNull: false, allowCommitTimestamp: true, }, originSiteId: columnDescriptor{ columnID: "origin_site_id", - columnType: spansql.Type{Array: false, Base: 4, Len: 63, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 63}, notNull: false, allowCommitTimestamp: false, }, destinationSiteId: columnDescriptor{ columnID: "destination_site_id", - columnType: spansql.Type{Array: false, Base: 4, Len: 63, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 63}, notNull: false, allowCommitTimestamp: false, }, pickupEarliestTime: columnDescriptor{ columnID: "pickup_earliest_time", - columnType: spansql.Type{Array: false, Base: 7, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 7, Len: 0}, notNull: false, allowCommitTimestamp: false, }, pickupLatestTime: columnDescriptor{ columnID: "pickup_latest_time", - columnType: spansql.Type{Array: false, Base: 7, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 7, Len: 0}, notNull: false, allowCommitTimestamp: false, }, deliveryEarliestTime: columnDescriptor{ columnID: "delivery_earliest_time", - columnType: spansql.Type{Array: false, Base: 7, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 7, Len: 0}, notNull: false, allowCommitTimestamp: false, }, deliveryLatestTime: columnDescriptor{ columnID: "delivery_latest_time", - columnType: spansql.Type{Array: false, Base: 7, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 7, Len: 0}, notNull: false, allowCommitTimestamp: false, }, @@ -167,43 +167,43 @@ var descriptor = databaseDescriptor{ tableID: "line_items", shipperId: columnDescriptor{ columnID: "shipper_id", - columnType: spansql.Type{Array: false, Base: 4, Len: 63, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 63}, notNull: true, allowCommitTimestamp: false, }, shipmentId: columnDescriptor{ columnID: "shipment_id", - columnType: spansql.Type{Array: false, Base: 4, Len: 63, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 63}, notNull: true, allowCommitTimestamp: false, }, lineNumber: columnDescriptor{ columnID: "line_number", - columnType: spansql.Type{Array: false, Base: 1, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 1, Len: 0}, notNull: true, allowCommitTimestamp: false, }, title: columnDescriptor{ columnID: "title", - columnType: spansql.Type{Array: false, Base: 4, Len: 63, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 63}, notNull: false, allowCommitTimestamp: false, }, quantity: columnDescriptor{ columnID: "quantity", - columnType: spansql.Type{Array: false, Base: 2, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 2, Len: 0}, notNull: false, allowCommitTimestamp: false, }, weightKg: columnDescriptor{ columnID: "weight_kg", - columnType: spansql.Type{Array: false, Base: 2, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 2, Len: 0}, notNull: false, allowCommitTimestamp: false, }, volumeM3: columnDescriptor{ columnID: "volume_m3", - columnType: spansql.Type{Array: false, Base: 2, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 2, Len: 0}, notNull: false, allowCommitTimestamp: false, }, diff --git a/internal/examples/musicdb/descriptor_gen.go b/internal/examples/musicdb/descriptor_gen.go index 230d747..3e27943 100644 --- a/internal/examples/musicdb/descriptor_gen.go +++ b/internal/examples/musicdb/descriptor_gen.go @@ -14,13 +14,13 @@ var descriptor = databaseDescriptor{ tableID: "Labels", labelId: columnDescriptor{ columnID: "LabelId", - columnType: spansql.Type{Array: false, Base: 1, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 1, Len: 0}, notNull: true, allowCommitTimestamp: false, }, labelName: columnDescriptor{ columnID: "LabelName", - columnType: spansql.Type{Array: false, Base: 4, Len: 9223372036854775807, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 9223372036854775807}, notNull: false, allowCommitTimestamp: false, }, @@ -29,31 +29,31 @@ var descriptor = databaseDescriptor{ tableID: "Singers", singerId: columnDescriptor{ columnID: "SingerId", - columnType: spansql.Type{Array: false, Base: 1, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 1, Len: 0}, notNull: true, allowCommitTimestamp: false, }, labelId: columnDescriptor{ columnID: "LabelId", - columnType: spansql.Type{Array: false, Base: 1, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 1, Len: 0}, notNull: false, allowCommitTimestamp: false, }, firstName: columnDescriptor{ columnID: "FirstName", - columnType: spansql.Type{Array: false, Base: 4, Len: 1024, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 1024}, notNull: false, allowCommitTimestamp: false, }, lastName: columnDescriptor{ columnID: "LastName", - columnType: spansql.Type{Array: false, Base: 4, Len: 1024, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 1024}, notNull: false, allowCommitTimestamp: false, }, singerInfo: columnDescriptor{ columnID: "SingerInfo", - columnType: spansql.Type{Array: false, Base: 5, Len: 9223372036854775807, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 5, Len: 9223372036854775807}, notNull: false, allowCommitTimestamp: false, }, @@ -62,19 +62,19 @@ var descriptor = databaseDescriptor{ tableID: "Albums", singerId: columnDescriptor{ columnID: "SingerId", - columnType: spansql.Type{Array: false, Base: 1, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 1, Len: 0}, notNull: true, allowCommitTimestamp: false, }, albumId: columnDescriptor{ columnID: "AlbumId", - columnType: spansql.Type{Array: false, Base: 1, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 1, Len: 0}, notNull: true, allowCommitTimestamp: false, }, albumTitle: columnDescriptor{ columnID: "AlbumTitle", - columnType: spansql.Type{Array: false, Base: 4, Len: 9223372036854775807, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 9223372036854775807}, notNull: false, allowCommitTimestamp: false, }, @@ -83,25 +83,25 @@ var descriptor = databaseDescriptor{ tableID: "Songs", singerId: columnDescriptor{ columnID: "SingerId", - columnType: spansql.Type{Array: false, Base: 1, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 1, Len: 0}, notNull: true, allowCommitTimestamp: false, }, albumId: columnDescriptor{ columnID: "AlbumId", - columnType: spansql.Type{Array: false, Base: 1, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 1, Len: 0}, notNull: true, allowCommitTimestamp: false, }, trackId: columnDescriptor{ columnID: "TrackId", - columnType: spansql.Type{Array: false, Base: 1, Len: 0, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 1, Len: 0}, notNull: true, allowCommitTimestamp: false, }, songName: columnDescriptor{ columnID: "SongName", - columnType: spansql.Type{Array: false, Base: 4, Len: 9223372036854775807, ProtoRef: ""}, + columnType: spansql.Type{Array: false, Base: 4, Len: 9223372036854775807}, notNull: false, allowCommitTimestamp: false, },