Skip to content

Commit

Permalink
add types test
Browse files Browse the repository at this point in the history
  • Loading branch information
dshaaban01 committed Jan 6, 2025
1 parent 4f24fa3 commit f3e3819
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions test/Dialect/Substrait/types.mlir
Original file line number Diff line number Diff line change
@@ -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<!substrait.date>
// CHECK-NEXT: yield %0 : tuple<!substrait.date>

substrait.plan version 0 : 42 : 1 {
relation {
%0 = named_table @t1 as ["a"] : tuple<!substrait.date>
yield %0 : tuple<!substrait.date>
}
}

0 comments on commit f3e3819

Please sign in to comment.