About 50 results
Open links in new tab
  1. hiveql - How to set variables in HIVE scripts - Stack Overflow

    Sep 18, 2012 · hive> set tablename=newtable; hive> select * from ${tablename} -- uses 'newtable' vs hive> select * from ${hivevar:tablename} -- still uses the original 'mytable' Probably doesn't mean too …

  2. Define hive-jdbc JNDI data source on WebSphere - Stack Overflow

    Feb 5, 2017 · I am trying to setup a JNDI Data Source on WebSphere 8.5.5.11, using hive-jdbc.jar. When using the console in WebSphere, and using the form to create a new JDBC provider, there is a …

  3. Cannot define a dynamic parameter in a Hive query

    Jan 1, 2014 · I'm trying to set up some Views in Hive that will take a date as a dynamic parameter. In my working below, I've swapped to using the hiveconf variable in the Select clause, so we can see …

  4. how to define hive table structure using sqoop import-mainframe ...

    Aug 24, 2016 · 2 we are trying to import a flat mainframe file to load into hive table. I was able to import and load it to hive table using sqoop import-mainframe but my entire file is placed in one column and …

  5. How to Define nested Collection items in Hive - Stack Overflow

    Aug 2, 2013 · Third level hive will use the default third level delimiter '^C' as the separator for the Struct Now my question is how can I define a separator for the second level (i.e. Struct), because '^C' …

  6. How to define a default NULL value to Hive table - Stack Overflow

    Sep 26, 2014 · How to define a default NULL value to Hive table Asked 12 years, 5 months ago Modified 11 years, 5 months ago Viewed 4k times

  7. sql - Hive Create table - When to use VARCHAR and STRING as column …

    Dec 4, 2021 · VARCHAR was introduced in Hive 0.12.0 for more SQL-compliant behavior, such as SQL string comparison semantics, max length, etc (See HIVE-4844). Varchar types are created with a …

  8. Difference between Pig and Hive? Why have both? [closed]

    Jul 29, 2010 · Hive supports partitions & PIG does not Hive defines tables with (schema) and stores schema information in a database & PIG doesn't have a dedicated metadata of database Pig also …

  9. How do we define date format in HIVE create statment?

    May 17, 2017 · I am trying to create a HIVE table.My source date format is 'YYYY-MM-DD'. Do I need to define the column as date format 'YYYY-MM-DD'? or simply putting Date is enough?

  10. hiveql - Map type variable in hive - Stack Overflow

    I am having trouble trying to define map type in hive. According to Hive Manual there definitely is a map type, unfortunately there aren't any examples on how to use it. :-( Suppose, I have a tab...