Skip to content

Commit d351946

Browse files
davidwzhaoclaude
andcommitted
Add name field to ExportOutput
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 1232fb4 commit d351946

17 files changed

Lines changed: 13698 additions & 13658 deletions

File tree

meta/src/meta/grammar.y

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,10 +1339,11 @@ export
13391339
# Like `export`, but the engine treats the result as part of the transaction results
13401340
# and chooses the output path itself (so no `path` is specified here).
13411341
export_output
1342-
: "(" "export_output" export_csv_output ")"
1343-
construct: $$ = transactions.ExportOutput(csv=$3)
1342+
: "(" "export_output" name export_csv_output ")"
1343+
construct: $$ = transactions.ExportOutput(name=$3, csv=$4)
13441344
deconstruct if builtin.has_proto_field($$, 'csv'):
1345-
$3: transactions.ExportCSVOutput = $$.csv
1345+
$3: String = $$.name
1346+
$4: transactions.ExportCSVOutput = $$.csv
13461347

13471348
export_csv_output
13481349
: "(" "csv" export_csv_source csv_config ")"

proto/relationalai/lqp/v1/transactions.proto

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,11 @@ message ExportCSVOutput {
182182
}
183183

184184
message ExportOutput {
185+
string name = 1;
186+
185187
// Supports export formats e.g., CSV and Iceberg, but considered to be part of txn results
186188
oneof export_output {
187-
ExportCSVOutput csv = 1;
189+
ExportCSVOutput csv = 2;
188190
}
189191
}
190192

sdks/go/src/lqp/v1/transactions.pb.go

Lines changed: 30 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)