Skip to content

Commit

Permalink
Run join, order by and window tests with Presto on Spark
Browse files Browse the repository at this point in the history
  • Loading branch information
arhimondr committed Apr 15, 2021
1 parent 5060556 commit e4c9e77
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.facebook.presto.spark;

import com.facebook.presto.tests.AbstractTestJoinQueries;

public class TestPrestoSparkAbstractTestJoinQueries
extends AbstractTestJoinQueries
{
protected TestPrestoSparkAbstractTestJoinQueries()
{
super(PrestoSparkQueryRunner::createHivePrestoSparkQueryRunner);
}

@Override
public void testExecuteUsingComplexJoinCriteria()
{
// prepared statement is not supported by Presto on Spark
}

@Override
public void testExecuteUsingWithSubqueryInJoin()
{
// prepared statement is not supported by Presto on Spark
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.facebook.presto.spark;

import com.facebook.presto.tests.AbstractTestOrderByQueries;

public class TestPrestoSparkAbstractTestOrderByQueries
extends AbstractTestOrderByQueries
{
protected TestPrestoSparkAbstractTestOrderByQueries()
{
super(PrestoSparkQueryRunner::createHivePrestoSparkQueryRunner);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.facebook.presto.spark;

import com.facebook.presto.tests.AbstractTestWindowQueries;

public class TestPrestoSparkAbstractTestWindowQueries
extends AbstractTestWindowQueries
{
protected TestPrestoSparkAbstractTestWindowQueries()
{
super(PrestoSparkQueryRunner::createHivePrestoSparkQueryRunner);
}
}

0 comments on commit e4c9e77

Please sign in to comment.