Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Restore some tests
  • Loading branch information
MaxGekk committed Jan 10, 2024
commit fd9fa82860e7594050d55ef366af64fa512b4abc
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,8 @@ class FileMetadataStructSuite extends QueryTest with SharedSparkSession {
},
errorClass = "FIELD_NOT_FOUND",
parameters = Map("fieldName" -> "`file_name`", "fields" -> "`id`, `university`"),
context = ExpectedContext(
fragment = "select",
callSitePattern = getCurrentClassCallSitePattern))
context =
ExpectedContext(fragment = "select", callSitePattern = getCurrentClassCallSitePattern))
}

metadataColumnsTest("SPARK-42683: df metadataColumn - schema conflict",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,7 @@ class ParquetFileMetadataStructRowIndexSuite extends QueryTest with SharedSparkS
"fieldName" -> "`row_index`",
"fields" -> ("`file_path`, `file_name`, `file_size`, " +
"`file_block_start`, `file_block_length`, `file_modification_time`")),
context = ExpectedContext(
fragment = "select",
getCurrentClassCallSitePattern))
context = ExpectedContext(fragment = "select", getCurrentClassCallSitePattern))
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1919,9 +1919,8 @@ class InsertSuite extends DataSourceTest with SharedSparkSession {
},
errorClass = "UNRESOLVED_COLUMN.WITH_SUGGESTION",
parameters = Map("objectName" -> "`default`", "proposal" -> "`value`"),
context = ExpectedContext(
fragment = "select",
callSitePattern = getCurrentClassCallSitePattern))
context =
ExpectedContext(fragment = "select", callSitePattern = getCurrentClassCallSitePattern))
}
}

Expand Down