Created on 07-21-2016 03:01 PM
CREATE VIEW salary AS SELECT fname, (CAST (lname AS STRING)) from Employees;
The result is:
FAILED: IllegalArgumentException replace op boundaries of <ReplaceOp@@17,43:47='lname',<26>,1:43..@17,43:47='lname',<26>,1:43:"`employees`.`lname`"> overlap with previous <ReplaceOp@@13,36:36='(',<266>,1:36..@23,59:59=')',<276>,1:59:"`employees`.`lname`"> hive>