Skip to content

Commit 1b24755

Browse files
shrinidhijoshiPresto CUDF CI
authored andcommitted
[pos][native] Disable native pos tests that have gaps in test setup
Created a separate issue - prestodb#25511 to track fixing these in a separate PR
1 parent a5282fb commit 1b24755

File tree

3 files changed

+65
-0
lines changed

3 files changed

+65
-0
lines changed

presto-native-execution/src/test/java/com/facebook/presto/spark/TestPrestoSparkNativeGeneralQueries.java

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,62 @@ protected ExpectedQueryRunner createExpectedQueryRunner()
3939
@Ignore
4040
public void testCatalogWithCacheEnabled() {}
4141

42+
@Override
43+
@Ignore
44+
public void testAnalyzeStatsOnDecimals() {}
45+
46+
// VeloxUserError: Unsupported file format in TableWrite: "ORC".
47+
@Override
48+
@Ignore
49+
public void testColumnFilter() {}
50+
51+
// VeloxUserError: Unsupported file format in TableWrite: "ORC".
52+
@Override
53+
@Ignore
54+
public void testIPAddressIPPrefix() {}
55+
56+
// VeloxUserError: Unsupported file format in TableWrite: "ORC".
57+
@Override
58+
@Ignore
59+
public void testInvalidUuid() {}
60+
61+
// VeloxUserError: Unsupported file format in TableWrite: "ORC".
62+
@Override
63+
@Ignore
64+
public void testStringFunctions() {}
65+
66+
// VeloxUserError: Unsupported file format in TableWrite: "ORC".
67+
@Override
68+
@Ignore
69+
public void testUuid() {}
70+
71+
// Access Denied: Cannot set catalog session property
72+
// hive.parquet_pushdown_filter_enabled
73+
@Override
74+
@Ignore
75+
public void testDecimalApproximateAggregates() {}
76+
77+
// Access Denied: Cannot set catalog session property
78+
// hive.parquet_pushdown_filter_enabled
79+
@Override
80+
@Ignore
81+
public void testDecimalRangeFilters() {}
82+
83+
// Access Denied: Cannot set catalog session property
84+
// hive.pushdown_filter_enabled
85+
@Override
86+
@Ignore
87+
public void testTimestampWithTimeZone() {}
88+
89+
@Override
90+
@Ignore
91+
public void testDistributedSortSingleNode() {}
92+
93+
//VeloxRuntimeError: ReaderFactory is not registered for format text
94+
@Override
95+
@Ignore
96+
public void testReadTableWithTextfileFormat() {}
97+
4298
@Override
4399
@Ignore
44100
public void testInformationSchemaTables() {}

presto-native-execution/src/test/java/com/facebook/presto/spark/TestPrestoSparkNativeSimpleQueries.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import com.facebook.presto.testing.ExpectedQueryRunner;
1818
import com.facebook.presto.testing.QueryRunner;
1919
import com.facebook.presto.tests.AbstractTestQueryFramework;
20+
import org.testng.annotations.Ignore;
2021
import org.testng.annotations.Test;
2122

2223
import static com.facebook.presto.SystemSessionProperties.JOIN_DISTRIBUTION_TYPE;
@@ -108,6 +109,7 @@ public void testFailures()
108109
* `eq()` Scalar function & `sum()` Aggregate function are defined in `src/test/resources/external_functions.json`
109110
*/
110111
@Test
112+
@Ignore("json schema based external function registraion is failing. Fix it and re-enable this test")
111113
public void testJsonFileBasedFunction()
112114
{
113115
assertQuery("SELECT json.test_schema.eq(1, linenumber) FROM lineitem", "SELECT 1 = linenumber FROM lineitem");
@@ -126,6 +128,7 @@ public void testJsonFileBasedFunction()
126128
* Subsequent queries read from avg_partial_states and aggregate the states to the final result.
127129
*/
128130
@Test
131+
@Ignore("json schema based external function registraion is failing. Fix it and re-enable this test")
129132
public void testAggregationCompanionFunction()
130133
{
131134
Session session = Session.builder(getSession())

presto-spark-base/src/test/java/com/facebook/presto/spark/TestPrestoSparkQueryRunner.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import com.google.common.io.Files;
2525
import io.airlift.units.Duration;
2626
import org.apache.hadoop.fs.Path;
27+
import org.testng.annotations.Ignore;
2728
import org.testng.annotations.Test;
2829

2930
import java.io.File;
@@ -1247,7 +1248,10 @@ public void testCreateExternalTable()
12471248
deleteRecursively(tempDir.toPath(), ALLOW_INSECURE);
12481249
}
12491250

1251+
//
12501252
@Test
1253+
@Ignore("PrsetoSparkQueryRunner was changed to use hive user with admin priviliges. It breaks this tess assumptions." +
1254+
"Update this test to not make assumptions")
12511255
public void testGrants()
12521256
{
12531257
assertQuerySucceeds("CREATE SCHEMA hive.hive_test_new");
@@ -1271,6 +1275,8 @@ public void testGrants()
12711275
}
12721276

12731277
@Test
1278+
@Ignore("PrsetoSparkQueryRunner was changed to use hive user with admin priviliges. It breaks this tess assumptions." +
1279+
"Update this test to not make assumptions")
12741280
public void testRoles()
12751281
{
12761282
assertQuerySucceeds("CREATE ROLE admin");

0 commit comments

Comments
 (0)