Skip to content

Commit

Permalink
[Fix] quote field name with grave accent (apache#158)
Browse files Browse the repository at this point in the history
Co-authored-by: gnehil <gnehil489@github>
  • Loading branch information
gnehil and gnehil authored Nov 9, 2023
1 parent 9cbce93 commit de60f63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ private[sql] class DorisRelation(
requiredColumns.map(Utils.quote).mkString(","))
} else {
paramWithScan += (ConfigurationOptions.DORIS_READ_FIELD ->
lazySchema.fields.map(f => f.name).mkString(","))
lazySchema.fields.map(f => Utils.quote(f.name)).mkString(","))
}

if (filters != null && filters.length > 0) {
Expand Down

0 comments on commit de60f63

Please sign in to comment.