What is the create table statement? Do you parse the tblproperties in the 
HiveSerde? Do you have exceptions in the log?

> On 19 Dec 2016, at 07:02, Chris Teoh <chris.t...@gmail.com> wrote:
> 
> Hi there,
> 
> Can anyone confirm whether TBLPROPERTIES in DDLs are ignored by custom
> inputformats in the context of a UDAF?
> 
> I've written a custom input format and it works with a SELECT * but when I
> do anything more like SELECT count(*) it returns 0.
> 
> INSERT INTO <table> SELECT * FROM <my custom inputformat table> doesn't
> appear to insert anything into the table.
> 
> I found I had to use the "set" commands to make things work rather than use
> DDL. This doesn't appear to make sense if the setting is specific to the
> table and would cause problems if I was working with more than one table
> and needed different values for the same setting.
> 
> Kind regards
> Chris

Reply via email to