Commit 30efd71
Export CSV config revamp to support table exports (#199)
* Update ExportCSVConfig to support generic CSV sources
* Update generated proto files
* Update grammar
* Try using Any types
* Add partition size to csv config
* Use separate options for legacy vs new csv export config
* Update generated proto and parser
* Update partition_size to partition_size_mb
* Update grammar to distinguish between new and legacy ExportCSVConfig versions
* Update pretty printer generator to support field unwrapping under conditionals
* Update generated sdks
* Format
* Add tests for export_csv_config_v2
* Fix type error
* Update generated parser
* Go back to having separate grammar rule for export_csv_columns
* Update generated parsers and printers
* Update Go pretty printer
* Update pretty snapshots
* Add csv_export attr to test
* No need for ignoring validator
* Update snaps
* Update go snaps
* Update grammar
* Fix grammar
* Add debug snaps for export tests
* Add return type annotation
* Apply suggestion from @comnik
Co-authored-by: Nikolas Göbel <nikolas.goebel@relational.ai>
* Reorder csv config options for clarity
---------
Co-authored-by: Nikolas Göbel <nikolas.goebel@relational.ai>1 parent 5e27319 commit 30efd71
27 files changed
Lines changed: 12615 additions & 10564 deletions
File tree
- meta/src/meta
- proto/relationalai/lqp/v1
- sdks
- go
- src
- lqp/v1
- test/pretty
- julia/LogicalQueryProtocol.jl/src
- gen/relationalai/lqp/v1
- python/src/lqp
- gen
- proto/v1
- tests
- bin
- lqp
- pretty_debug
- pretty
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| 182 | + | |
181 | 183 | | |
182 | 184 | | |
183 | 185 | | |
| |||
1079 | 1081 | | |
1080 | 1082 | | |
1081 | 1083 | | |
1082 | | - | |
1083 | | - | |
1084 | | - | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
1085 | 1093 | | |
1086 | 1094 | | |
1087 | 1095 | | |
1088 | 1096 | | |
1089 | 1097 | | |
1090 | 1098 | | |
1091 | 1099 | | |
1092 | | - | |
| 1100 | + | |
1093 | 1101 | | |
1094 | 1102 | | |
1095 | 1103 | | |
| |||
1099 | 1107 | | |
1100 | 1108 | | |
1101 | 1109 | | |
| 1110 | + | |
| 1111 | + | |
| 1112 | + | |
| 1113 | + | |
| 1114 | + | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
1102 | 1120 | | |
1103 | 1121 | | |
1104 | 1122 | | |
| |||
1198 | 1216 | | |
1199 | 1217 | | |
1200 | 1218 | | |
| 1219 | + | |
1201 | 1220 | | |
1202 | 1221 | | |
1203 | 1222 | | |
| |||
1210 | 1229 | | |
1211 | 1230 | | |
1212 | 1231 | | |
| 1232 | + | |
1213 | 1233 | | |
1214 | 1234 | | |
1215 | 1235 | | |
| |||
1275 | 1295 | | |
1276 | 1296 | | |
1277 | 1297 | | |
1278 | | - | |
1279 | | - | |
| 1298 | + | |
1280 | 1299 | | |
1281 | 1300 | | |
1282 | 1301 | | |
| |||
1301 | 1320 | | |
1302 | 1321 | | |
1303 | 1322 | | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
| 1332 | + | |
| 1333 | + | |
1304 | 1334 | | |
1305 | 1335 | | |
1306 | 1336 | | |
| |||
1362 | 1392 | | |
1363 | 1393 | | |
1364 | 1394 | | |
| 1395 | + | |
| 1396 | + | |
1365 | 1397 | | |
1366 | 1398 | | |
1367 | 1399 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
312 | 315 | | |
313 | 316 | | |
314 | 317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
85 | 90 | | |
86 | 91 | | |
87 | 92 | | |
| |||
100 | 105 | | |
101 | 106 | | |
102 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
103 | 119 | | |
104 | 120 | | |
105 | 121 | | |
| |||
0 commit comments