You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR retrieves the Substrait spec version from the Git submodule
and writes it into the plan when using the builders.
Signed-off-by: Niels Pardon <[email protected]>
Co-authored-by: Andrew Coleman <[email protected]>
You can run the full code generation using the following command or use the individual commands to selectively regenerate the generated code. This does not update the Substrait Git submodule.
26
+
27
+
```
28
+
make codegen
29
+
```
30
+
25
31
## Protobuf stubs
26
32
27
33
Run the upgrade script to upgrade the submodule and regenerate the protobuf stubs.
@@ -31,6 +37,12 @@ uv sync --extra gen_proto
31
37
uv run ./update_proto.sh <version>
32
38
```
33
39
40
+
Or run the proto codegen without updating the Substrait Git submodule:
41
+
42
+
```
43
+
make codegen-proto
44
+
```
45
+
34
46
## Antlr grammar
35
47
36
48
Substrait uses antlr grammar to derive output types of extension functions. Make sure java is installed and ANTLR_JAR environment variable is set. Take a look at .devcontainer/Dockerfile for example setup.
0 commit comments