hive> desc vc;
c char(5) None
vc varchar(7) None
s string None
hive> select printf(c) from vc;
FAILED: SemanticException [Error 10016]: Line 1:14 Argument type mismatch 'c': Argument 1 of function PRINTF must be "string", but "char(5)" was found.
However, if the argument is string type, the query runs successfully.