Skip to content

Commit 1232fb4

Browse files
davidwzhaoclaude
andcommitted
Rename grammar keyword output_export to export_output
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 6c4eeda commit 1232fb4

10 files changed

Lines changed: 22 additions & 22 deletions

File tree

meta/src/meta/grammar.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ 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-
: "(" "output_export" export_csv_output ")"
1342+
: "(" "export_output" export_csv_output ")"
13431343
construct: $$ = transactions.ExportOutput(csv=$3)
13441344
deconstruct if builtin.has_proto_field($$, 'csv'):
13451345
$3: transactions.ExportCSVOutput = $$.csv

sdks/go/src/parser.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4696,12 +4696,12 @@ func (p *Parser) parse_read() *pb.Read {
46964696
_t2040 = 2
46974697
} else {
46984698
var _t2041 int64
4699-
if p.matchLookaheadLiteral("output_export", 1) {
4700-
_t2041 = 5
4699+
if p.matchLookaheadLiteral("output", 1) {
4700+
_t2041 = 1
47014701
} else {
47024702
var _t2042 int64
4703-
if p.matchLookaheadLiteral("output", 1) {
4704-
_t2042 = 1
4703+
if p.matchLookaheadLiteral("export_output", 1) {
4704+
_t2042 = 5
47054705
} else {
47064706
var _t2043 int64
47074707
if p.matchLookaheadLiteral("export_iceberg", 1) {
@@ -5129,7 +5129,7 @@ func (p *Parser) parse_iceberg_table_properties() [][]interface{} {
51295129
func (p *Parser) parse_export_output() *pb.ExportOutput {
51305130
span_start1344 := int64(p.spanStart())
51315131
p.consumeLiteral("(")
5132-
p.consumeLiteral("output_export")
5132+
p.consumeLiteral("export_output")
51335133
_t2121 := p.parse_export_csv_output()
51345134
export_csv_output1343 := _t2121
51355135
p.consumeLiteral(")")

sdks/go/src/pretty.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5030,7 +5030,7 @@ func (p *PrettyPrinter) pretty_export_output(msg *pb.ExportOutput) interface{} {
50305030
fields1610 := _t1763
50315031
unwrapped_fields1611 := fields1610
50325032
p.write("(")
5033-
p.write("output_export")
5033+
p.write("export_output")
50345034
p.indentSexp()
50355035
p.newline()
50365036
p.pretty_export_csv_output(unwrapped_fields1611)

sdks/julia/LogicalQueryProtocol.jl/src/parser.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4018,11 +4018,11 @@ function parse_read(parser::ParserState)::Proto.Read
40184018
if match_lookahead_literal(parser, "what_if", 1)
40194019
_t2027 = 2
40204020
else
4021-
if match_lookahead_literal(parser, "output_export", 1)
4022-
_t2028 = 5
4021+
if match_lookahead_literal(parser, "output", 1)
4022+
_t2028 = 1
40234023
else
4024-
if match_lookahead_literal(parser, "output", 1)
4025-
_t2029 = 1
4024+
if match_lookahead_literal(parser, "export_output", 1)
4025+
_t2029 = 5
40264026
else
40274027
if match_lookahead_literal(parser, "export_iceberg", 1)
40284028
_t2030 = 4
@@ -4417,7 +4417,7 @@ end
44174417
function parse_export_output(parser::ParserState)::Proto.ExportOutput
44184418
span_start1344 = span_start(parser)
44194419
consume_literal!(parser, "(")
4420-
consume_literal!(parser, "output_export")
4420+
consume_literal!(parser, "export_output")
44214421
_t2108 = parse_export_csv_output(parser)
44224422
export_csv_output1343 = _t2108
44234423
consume_literal!(parser, ")")

sdks/julia/LogicalQueryProtocol.jl/src/pretty.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5101,7 +5101,7 @@ function pretty_export_output(pp::PrettyPrinter, msg::Proto.ExportOutput)
51015101
end
51025102
fields1610 = _t1802
51035103
unwrapped_fields1611 = fields1610
5104-
write(pp, "(output_export")
5104+
write(pp, "(export_output")
51055105
indent_sexp!(pp)
51065106
newline(pp)
51075107
pretty_export_csv_output(pp, unwrapped_fields1611)

sdks/python/src/lqp/gen/parser.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3664,11 +3664,11 @@ def parse_read(self) -> transactions_pb2.Read:
36643664
if self.match_lookahead_literal("what_if", 1):
36653665
_t2027 = 2
36663666
else:
3667-
if self.match_lookahead_literal("output_export", 1):
3668-
_t2028 = 5
3667+
if self.match_lookahead_literal("output", 1):
3668+
_t2028 = 1
36693669
else:
3670-
if self.match_lookahead_literal("output", 1):
3671-
_t2029 = 1
3670+
if self.match_lookahead_literal("export_output", 1):
3671+
_t2029 = 5
36723672
else:
36733673
if self.match_lookahead_literal("export_iceberg", 1):
36743674
_t2030 = 4
@@ -4015,7 +4015,7 @@ def parse_iceberg_table_properties(self) -> Sequence[tuple[str, str]]:
40154015
def parse_export_output(self) -> transactions_pb2.ExportOutput:
40164016
span_start1344 = self.span_start()
40174017
self.consume_literal("(")
4018-
self.consume_literal("output_export")
4018+
self.consume_literal("export_output")
40194019
_t2108 = self.parse_export_csv_output()
40204020
export_csv_output1343 = _t2108
40214021
self.consume_literal(")")

sdks/python/src/lqp/gen/pretty.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4407,7 +4407,7 @@ def pretty_export_output(self, msg: transactions_pb2.ExportOutput):
44074407
fields1610 = _t1763
44084408
assert fields1610 is not None
44094409
unwrapped_fields1611 = fields1610
4410-
self.write("(output_export")
4410+
self.write("(export_output")
44114411
self.indent_sexp()
44124412
self.newline()
44134413
self.pretty_export_csv_output(unwrapped_fields1611)

tests/lqp/csv_output.lqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
(+ 1 1 x))))))
99

1010
(reads
11-
(output_export
11+
(export_output
1212
(csv
1313
(table_def :test)
1414
(csv_config {}))))))

tests/pretty/csv_output.lqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
(epoch
44
(writes (define (fragment :frag (def :test ([x::INT] (+ 1 1 x))))))
55
(reads
6-
(output_export
6+
(export_output
77
(csv
88
(table_def :test)
99
(csv_config

tests/pretty_debug/csv_output.lqp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
(define
66
(fragment :frag (def 0xa3bf4f1b2b0b822cd15d6c15b0f00a08 ([x::INT] (+ 1 1 x))))))
77
(reads
8-
(output_export
8+
(export_output
99
(csv
1010
(table_def 0xa3bf4f1b2b0b822cd15d6c15b0f00a08)
1111
(csv_config

0 commit comments

Comments
 (0)