diff --git a/test/Dialect/Substrait/types.mlir b/test/Dialect/Substrait/types.mlir new file mode 100644 index 0000000..99b6011 --- /dev/null +++ b/test/Dialect/Substrait/types.mlir @@ -0,0 +1,14 @@ +// RUN: substrait-opt -split-input-file -split-input-file %s \ +// RUN: | FileCheck %s + +// CHECK-LABEL: substrait.plan +// CHECK: relation +// CHECK: %[[V0:.*]] = named_table @t1 as ["a"] : tuple +// CHECK-NEXT: yield %0 : tuple + +substrait.plan version 0 : 42 : 1 { + relation { + %0 = named_table @t1 as ["a"] : tuple + yield %0 : tuple + } +} \ No newline at end of file