Skip to content
Snippets Groups Projects
Commit 40df5d49 authored by Davies Liu's avatar Davies Liu Committed by Reynold Xin
Browse files

[SPARK-6663] [SQL] use Literal.create instread of constructor

In order to do inbound checking and type conversion, we should use Literal.create() instead of  constructor.

Author: Davies Liu <davies@databricks.com>

Closes #5320 from davies/literal and squashes the following commits:

1667604 [Davies Liu] fix style and add comment
5f8c0fd [Davies Liu] use Literal.create instread of constructor
parent 2bc7fe7f
No related branches found
No related tags found
No related merge requests found
Showing
with 220 additions and 213 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