What does the line number refer to in hive error logs? -
i tried running query:
set hive.groupby.orderby.position.alias=true; select device, count (distinct from_user) users_sharing dileep.oct_activation_device_info group 1 order 2 desc limit 10
it threw error following error message:
failed: semanticexception [error 10004]: line 1:31 invalid table alias or column reference 'from_user': (possible column names are: device, users_sharing)
what 1:31
in log mean in reference above query?
ps: question log meaning specifically. query example.
the set hive.groupby.orderby.position.alias=true;
irrelevant since it's different command - error refers select
command.
line 1 first line (it's 1 based): select device, count (distinct from_user) users_sharing
31 location in line: from_user
. seems location 0 based.
Comments
Post a Comment