snowflakedb / snowpark-java-scala

Snowflake Snowpark Java & Scala API
Apache License 2.0
18 stars 21 forks source link

SNOW-1335123 Fix DF Alias in the JOIN Condition #100

Closed sfc-gh-bli closed 6 months ago

sfc-gh-bli commented 6 months ago

Fixed two errors

  1. df alias doesn't work in the JOIN condition, for example df1.alias("a").join(df2.alias("b"), col("a.col") === col("b.col"))
  2. df alias requires child's output, but the child's SnowflakePlan can be empty.