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

Function test_outer_join_id

python/pathway/tests/test_joins.py:1250–1268  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1248
1249
1250def test_outer_join_id():
1251 t1 = T(
1252 """
1253 | a | b
1254 1 | a1 | b1
1255 2 | a2 | b2
1256 """
1257 )
1258 t2 = T(
1259 """
1260 | c | d
1261 1 | c1 | d1
1262 3 | c3 | d3
1263 """
1264 )
1265 assert_table_equality(
1266 t1.join_outer(t2, t1.id == t2.id).select(id_col=pw.this.id),
1267 t1.join_outer(t2, t1.id == t2.id).select().select(id_col=pw.this.id),
1268 )
1269
1270
1271def test_outer_join_chaining_no_cond_leftsided():

Callers

nothing calls this directly

Calls 3

TFunction · 0.90
join_outerMethod · 0.80
selectMethod · 0.45

Tested by

no test coverage detected