Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/6081#discussion_r30306850
  
    --- Diff: sql/core/src/test/scala/org/apache/spark/sql/DataFrameSuite.scala 
---
    @@ -532,4 +532,34 @@ class DataFrameSuite extends QueryTest {
         val p = 
df.logicalPlan.asInstanceOf[Project].child.asInstanceOf[Project]
         assert(!p.child.isInstanceOf[Project])
       }
    +
    +  test("range api") {
    +    // numSlice is greater than length
    +    TestSQLContext.range(0, 10, 1, 15).registerTempTable("rangeTable1")
    --- End diff --
    
    why registering them as temp table? you can just directly do a df select


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to