[ask] java.lang.NoSuchFieldError: LOG

2020-05-06 Thread tkg_cangkul
Hi, I've a problem when i try to connect hive 3.1.0 with jdbc . I've got this error msg : *Caused by: java.lang.reflect.InvocationTargetException* at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at

Re: Adding a virtual column for a custom input format

2020-05-06 Thread Gopal V
Hi, > I'm hoping someone can help me shed some light on how Hive deals with virtual columns. The virtual column impl is not extensible in Hive, it is a fixed set of enums. https://github.com/apache/hive/blob/master/ql/src/java/org/apache/hadoop/hive/ql/metadata/VirtualColumn.java#L64

Re: Adding a virtual column for a custom input format

2020-05-06 Thread Christine Mathiesen
Hello! By a virtual column we were thinking something similar to ‘INPUT__FILE__NAME’ seen here: https://cwiki.apache.org/confluence/display/Hive/LanguageManual+VirtualColumns Our idea was to add an extra column with some metadata that could be useful to the user for time-travel queries. I

Re: Adding a virtual column for a custom input format

2020-05-06 Thread saquib khan
unsubscribe On Wed, May 6, 2020 at 10:53 AM Christine Mathiesen wrote: > Hello! > > I'm hoping someone can help me shed some light on how Hive deals with > virtual columns. We are trying to implement some time travel features in a > custom input format we're building and are considering the

Re: Adding a virtual column for a custom input format

2020-05-06 Thread Mich Talebzadeh
Hi Christine. Virtual column meaning a derived column? can you achieve this by creating a view on Hive table? HTH Dr Mich Talebzadeh LinkedIn * https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw

Adding a virtual column for a custom input format

2020-05-06 Thread Christine Mathiesen
Hello! I'm hoping someone can help me shed some light on how Hive deals with virtual columns. We are trying to implement some time travel features in a custom input format we're building and are considering the approach of adding a virtual column, but I haven't been able to find much