-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35808/#review89439
-----------------------------------------------------------



exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/PreProcessLogicalRel.java
 (line 191)
<https://reviews.apache.org/r/35808/#comment142071>

    My bad, this cannot be static.


- Sudheesh Katkam


On June 24, 2015, 4:57 p.m., Parth Chandra wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35808/
> -----------------------------------------------------------
> 
> (Updated June 24, 2015, 4:57 p.m.)
> 
> 
> Review request for drill, Mehant Baid, Sudheesh Katkam, and Venki Korukanti.
> 
> 
> Repository: drill-git
> 
> 
> Description
> -------
> 
> DRILL-2862: Convert_to/Convert_From throw assertion when an incorrect 
> encoding type is specified or if the encoding type is not a string literal.
> 
> Instead of an assertion when user input is wrong, we now throw an exception 
> with the appropriate error message. 
> For the case where the user types in a type name incorrectly, the error 
> message also provides a helpful suggestion. The suggested name is selected 
> from the list of available functions.
> 
> For example: 
> 
>   select convert_from(foo, 'UTF') from dfs.`/table_foo`
> 
> will print the following error:
> 
>   Error: UNSUPPORTED_OPERATION ERROR: CONVERT_FROM does not support 
> conversion from type 'UTF'.
>   Did you mean UTF8?
>   [Error Id: 87ed2941-f9c2-4c35-8ff2-a3f21eae1104 on localhost:31010] 
> (state=,code=0)
> 
> 
> Diffs
> -----
> 
>   
> exec/java-exec/src/main/java/org/apache/drill/exec/planner/logical/PreProcessLogicalRel.java
>  0f8e45a 
>   
> exec/java-exec/src/main/java/org/apache/drill/exec/util/ApproximateStringMatcher.java
>  PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/35808/diff/
> 
> 
> Testing
> -------
> 
> All regression tests
> 
> 
> Thanks,
> 
> Parth Chandra
> 
>

Reply via email to