File tree 2 files changed +8
-0
lines changed
glint/src/test/java/co/clflushopt/glint/query/compiler
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 29
29
- name : Cleanup existing or cached artefacts.
30
30
run : mvn -B clean --file glint/pom.xml
31
31
- name : Build & Run Tests with Maven
32
+ env :
33
+ DISABLE_COMPILER_TESTS : " yes"
32
34
run : mvn -B package --file glint/pom.xml
Original file line number Diff line number Diff line change 5
5
import java .nio .file .Path ;
6
6
import java .util .Collections ;
7
7
8
+ import org .junit .Assume ;
8
9
import org .junit .Test ;
9
10
10
11
import co .clflushopt .glint .datasource .ParquetDataSource ;
13
14
public class QueryCompilerTest {
14
15
@ Test
15
16
public void canCompileInlinedParquetScan () throws Exception {
17
+ Assume .assumeTrue ("Skipping test due to missing data" ,
18
+ System .getenv ("DISABLE_COMPILER_TESTS" ) != null );
19
+
16
20
Path path = Path .of ("../datasets/yellow_tripdata_2019-01.parquet" );
17
21
String filename = path .toAbsolutePath ().toString ();
18
22
QueryCompiler c = new QueryCompiler ();
@@ -22,6 +26,8 @@ public void canCompileInlinedParquetScan() throws Exception {
22
26
23
27
@ Test
24
28
public void canCompileScanPlan () throws Exception {
29
+ Assume .assumeTrue ("Skipping test due to missing data" ,
30
+ System .getenv ("DISABLE_COMPILER_TESTS" ) != null );
25
31
try {
26
32
Path path = Path .of ("../datasets/yellow_tripdata_2019-01.parquet" );
27
33
String filename = path .toAbsolutePath ().toString ();
You can’t perform that action at this time.
0 commit comments