Thang Long Vu created SPARK-51370: ------------------------------------- Summary: Code clarity improvements for INSERT INTO parsing codes in AstBuilder.scala Key: SPARK-51370 URL: https://issues.apache.org/jira/browse/SPARK-51370 Project: Spark Issue Type: Improvement Components: SQL Affects Versions: 4.1 Reporter: Thang Long Vu
# Use Case Class instead of Tuple to store the parsing results of INSERT INTO SQL Statements, this gives name to multiple return fields which is clearer and easier to follow the fields. # When creating {{{}InsertIntoStatement{}}}, mixing by-name and by-position arguments is unexpected and it's unclear how the positional arguments after the named one are resolved. Thus, we only use by-name arguments. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org