MCPcopy Index your code
hub / github.com/pathwaycom/pathway / test_implicit_selfjoin

Function test_implicit_selfjoin

python/pathway/tests/test_sql.py:410–424  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

408
409
410def test_implicit_selfjoin():
411 tab = T(
412 """
413 a | b
414 x | 11
415 y | 12
416 """
417 )
418 assert_table_equality(
419 pw.sql(
420 "SELECT t1.a, t2.b FROM tab t1, tab t2",
421 tab=tab,
422 ),
423 tab.join(tab.copy()).select(pw.left.a, pw.right.b),
424 )
425
426
427def test_explicit_join():

Callers

nothing calls this directly

Calls 4

TFunction · 0.90
selectMethod · 0.45
joinMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected