When I run Hive queries that include division my data is not getting divided. the divisions are ignored and the numbers are displayed as they are.
Additionally when I run queries, extra columns full of null values appears. When I describe the table, it shows as only having three columns, but when I run any HiveQL query extra null columns are added.
This is the data in file
W288575MN 937.0 937.0
W288579MN 484.0 484.0
W288601MN 1874.0 1874.0
W288602MN 2755.0 2787.0
This is the HIve Query
W288575MN 937.0 937.0 NULL NULL
W288579MN 484.0 484.0 NULL NULL
W288601MN 1874.0 1874.0 NULL NULL
W288602MN 2755.0 2787.0 NULL NULL