File tree Expand file tree Collapse file tree
glint/src/test/java/co/clflushopt/glint/query/compiler Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 - name : Cleanup existing or cached artefacts.
3030 run : mvn -B clean --file glint/pom.xml
3131 - name : Build & Run Tests with Maven
32+ env :
33+ DISABLE_COMPILER_TESTS : " yes"
3234 run : mvn -B package --file glint/pom.xml
Original file line number Diff line number Diff line change 55import java .nio .file .Path ;
66import java .util .Collections ;
77
8+ import org .junit .Assume ;
89import org .junit .Test ;
910
1011import co .clflushopt .glint .datasource .ParquetDataSource ;
1314public class QueryCompilerTest {
1415 @ Test
1516 public void canCompileInlinedParquetScan () throws Exception {
17+ Assume .assumeTrue ("Skipping test due to missing data" ,
18+ System .getenv ("DISABLE_COMPILER_TESTS" ) != null );
19+
1620 Path path = Path .of ("../datasets/yellow_tripdata_2019-01.parquet" );
1721 String filename = path .toAbsolutePath ().toString ();
1822 QueryCompiler c = new QueryCompiler ();
@@ -22,6 +26,8 @@ public void canCompileInlinedParquetScan() throws Exception {
2226
2327 @ Test
2428 public void canCompileScanPlan () throws Exception {
29+ Assume .assumeTrue ("Skipping test due to missing data" ,
30+ System .getenv ("DISABLE_COMPILER_TESTS" ) != null );
2531 try {
2632 Path path = Path .of ("../datasets/yellow_tripdata_2019-01.parquet" );
2733 String filename = path .toAbsolutePath ().toString ();
You can’t perform that action at this time.
0 commit comments