We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fbebbfb commit 28577f8Copy full SHA for 28577f8
1 file changed
python/tests/test_expr.py
@@ -334,6 +334,7 @@ def test_transaction_end():
334
plan = plan.to_variant()
335
assert isinstance(plan, TransactionEnd)
336
337
+
338
def test_alias_with_metadata(df):
339
df = df.select(col("a").alias("b", {"key": "value"}))
340
assert df.schema().field("b").metadata == {b"key": b"value"}
0 commit comments