File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
sql/core/src/test/scala/org/apache/spark/sql Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,12 @@ class DataFrameRangeSuite extends QueryTest with SharedSQLContext with Eventuall
185185 }
186186 }
187187 }
188+
189+ test(" SPARK-20430 Initialize Range parameters in a driver side" ) {
190+ withSQLConf(SQLConf .WHOLESTAGE_CODEGEN_ENABLED .key -> " false" ) {
191+ checkAnswer(sql(" SELECT * FROM range(3)" ), Row (0 ) :: Row (1 ) :: Row (2 ) :: Nil )
192+ }
193+ }
188194}
189195
190196object DataFrameRangeSuite {
Original file line number Diff line number Diff line change @@ -1732,10 +1732,4 @@ class DataFrameSuite extends QueryTest with SharedSQLContext {
17321732 .filter($" x1" .isNotNull || ! $" y" .isin(" a!" ))
17331733 .count
17341734 }
1735-
1736- test(" SPARK-20430 Initialize Range parameters in a deriver side" ) {
1737- withSQLConf(SQLConf .WHOLESTAGE_CODEGEN_ENABLED .key -> " false" ) {
1738- checkAnswer(sql(" SELECT * FROM range(3)" ), Row (0 ) :: Row (1 ) :: Row (2 ) :: Nil )
1739- }
1740- }
17411735}
You can’t perform that action at this time.
0 commit comments