When running CREATE SQL Query as below from a ".sql" file , Syntax error is
thrown,. However if i run the same sql on the console it runs fine.
create alias TO_DATE as $$
java.util.Date toDate(String s,String format) throws Exception {
return new java.text.SimpleDateFormat(".MM.dd").parse(
On 2014-07-02 06:31 AM, Kunal Kishan wrote:
When running CREATE SQL Query as below from a ".sql" file , Syntax error is
thrown,. However if i run the same sql on
the console it runs fine.
How are you running it from a .sql file?
--
You received this message because you are subscribed to th