Member since
08-10-2018
1
Post
0
Kudos Received
0
Solutions
08-16-2018
07:31 AM
1 Kudo
@Nagarajan
Jayaraman
Hive supports time in form of timestamp, hence, the error as "time" is not recognized. If you are to hold the 0930 alone as openhour, then apt datatype would be string. In case, you could hold data like "2018-10-15 09:30:00" as openhour, then you could use timestamp as datatype and select query would be like "select cast("2018-10-15 09:30:00" as timestamp) from test_table. FYI, more details of Timestamp datatype.
... View more