Skip to content
Snippets Groups Projects
Commit f5472dda authored by petermaxlee's avatar petermaxlee Committed by Wenchen Fan
Browse files

[SPARK-16947][SQL] Support type coercion and foldable expression for inline tables

## What changes were proposed in this pull request?
This patch improves inline table support with the following:

1. Support type coercion.
2. Support using foldable expressions. Previously only literals were supported.
3. Improve error message handling.
4. Improve test coverage.

## How was this patch tested?
Added a new unit test suite ResolveInlineTablesSuite and a new file-based end-to-end test inline-table.sql.

Author: petermaxlee <petermaxlee@gmail.com>

Closes #14676 from petermaxlee/SPARK-16947.
parent b72bb62d
No related branches found
No related tags found
No related merge requests found
Showing
with 452 additions and 46 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment