We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6109a4 commit c64a66bCopy full SHA for c64a66b
python/tests/test_dataframe.py
@@ -275,6 +275,11 @@ def test_filter(df):
275
276
277
def test_parse_sql_expr(df):
278
+ plan1 = df.filter(df.parse_sql_expr("a > 2")).logical_plan()
279
+ plan2 = df.filter(column("a") > literal(2)).logical_plan()
280
+ # object equality not implemented but string representation should match
281
+ assert str(plan1) == str(plan2)
282
+
283
df1 = df.filter(df.parse_sql_expr("a > 2")).select(
284
column("a") + column("b"),
285
column("a") - column("b"),
0 commit comments