Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Java:
leftTable.join(rightTable.asOf($("order_time")), $("currency").isEqual("currency"))

Python:
left_table.join(right_table.as_of(left_table.order_time), left_table.currency == right_table.currency)

It’s equivalent to the following SQL:

...

Java:
leftTable.join(rightTable.asOf($("proctime")), $("currency").isEqual("currency"))

Python:
left_table.join(right_table.as_of(left_table.proctime), left_table.currency == right_table.currency)

It’s equivalent to the following SQL:

...