We can use Alter statement to change the data type of a column in Hive.
Command will be as follows:
ALTER TABLE tableName REPLACE COLUMNS (columnName dataType)
Your email address will not be published. Required fields are marked *
Notify me of follow-up comments by email.
Notify me of new posts by email.