Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-yuwang committed Apr 29, 2024
1 parent 300a77d commit bf1a848
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tests/integ/scala/test_dataframe_reader_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -1417,7 +1417,13 @@ def test_filepath_not_exist_or_empty(session):
def test_filepath_with_single_quote(session):
test_file_on_stage_with_quote = f"'@{tmp_stage_name1}/{test_file_csv}'"
test_file_on_stage = f"@{tmp_stage_name1}/{test_file_csv}"
result1 = session.read.option("INFER_SCHEMA", True).csv(test_file_on_stage).collect()
result2 = session.read.option("INFER_SCHEMA", True).csv(test_file_on_stage_with_quote).collect()
result1 = (
session.read.option("INFER_SCHEMA", True).csv(test_file_on_stage).collect()
)
result2 = (
session.read.option("INFER_SCHEMA", True)
.csv(test_file_on_stage_with_quote)
.collect()
)

assert result1 == result2

0 comments on commit bf1a848

Please sign in to comment.