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

    https://github.com/apache/spark/pull/20788#discussion_r235183021
  
    --- Diff: python/pyspark/sql/tests/test_dataframe.py ---
    @@ -375,6 +375,19 @@ def test_generic_hints(self):
             plan = df1.join(df2.hint("broadcast"), 
"id")._jdf.queryExecution().executedPlan()
             self.assertEqual(1, plan.toString().count("BroadcastHashJoin"))
     
    +    # add tests for SPARK-23647 (test more types for hint)
    +    def test_extended_hint_types(self):
    +        from pyspark.sql import DataFrame
    +
    +        df = self.spark.range(10e10).toDF("id")
    +        such_a_nice_list = ["itworks1", "itworks2", "itworks3"]
    --- End diff --
    
    @HyukjinKwon I tested locally and you are right, it is kinda weird, so I 
just removed it.


---

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

Reply via email to