Documentation of manually passing parameters ${parameter} inside query

loct

Hive documented about setting variables in hiveconf https://cwiki.apache.org/confluence/display/Hive/LanguageManual+VariableSubstitution

I know there is also a way of passing parameters using ${parameter}(not hiveconf), e.g.

select * from table_one where variable = ${parameter}

And then the hive editor would prompt you to enter the value for parameter when you submit the query.

I can't find where Apache hadoop documents this way of passing parameters. Is this way of passing parameters inherent in hive or oozie? If it is oozie why can it be used in the hive editor?

Chris Nauroth

This is a feature of Hue. There is a reference to this feature in Cloudera documentation, at least for older versions. For example, the Hive Query Editor User Guide describes it.

PARAMETERIZATION Indicate that a dialog box should display to enter parameter values when a query containing the string $parametername is executed. Enabled by default.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Passing URL with query parameters as function parameter in JavaScript

From Dev

passing parameter to oracle query

From Dev

Django: passing parameters not inside the URL

From Dev

Passing Parameters to a SQLSRV WHERE IN query

From Dev

Passing in query parameters to a WCF Service

From Dev

parameter passing by HTTP GET request other than as query parameters- slug/cleanurl/prettyurl

From Dev

Passing custom type query parameter

From Dev

Passing additional parameter to Mongoose query

From Dev

Passing a query as a parameter in stored proc

From Dev

Passing Parameter from values to Query

From Dev

Passing a query as a parameter in stored proc

From Dev

Passing query as a parameter to udf function

From Dev

Passing a search parameter to a query fails

From Dev

posted variable not passing inside query

From Dev

Passing in batch file with parameters as parameter in sftp command

From Dev

Passing in dynamic parameter names to Origen::Parameters?

From Dev

Passing parameters to Anonymous function inside click event

From Dev

Passing parameters to python -c inside a bash function?

From Dev

Passing Multiple Arrays As Parameters Into For Loops Inside Function

From Dev

Retrieving Query Parameters inside a Component

From Java

Passing parameter inside $location.path in Angular

From Dev

basic java parameter passing, computation inside a method

From Dev

passing the function parameter value to the function inside that function

From Dev

Passing two values for one parameter inside RemoteFunction

From Dev

Passing struct parameter to a function inside a struct

From Dev

query entity with linq passing in two parameters

From Dev

Passing query parameters in Dapper using OleDb

From Dev

Mule Sql Query - passing parameters to the IN operator

From Dev

Passing list of enum values as HTTP query parameters

Related Related

  1. 1

    Passing URL with query parameters as function parameter in JavaScript

  2. 2

    passing parameter to oracle query

  3. 3

    Django: passing parameters not inside the URL

  4. 4

    Passing Parameters to a SQLSRV WHERE IN query

  5. 5

    Passing in query parameters to a WCF Service

  6. 6

    parameter passing by HTTP GET request other than as query parameters- slug/cleanurl/prettyurl

  7. 7

    Passing custom type query parameter

  8. 8

    Passing additional parameter to Mongoose query

  9. 9

    Passing a query as a parameter in stored proc

  10. 10

    Passing Parameter from values to Query

  11. 11

    Passing a query as a parameter in stored proc

  12. 12

    Passing query as a parameter to udf function

  13. 13

    Passing a search parameter to a query fails

  14. 14

    posted variable not passing inside query

  15. 15

    Passing in batch file with parameters as parameter in sftp command

  16. 16

    Passing in dynamic parameter names to Origen::Parameters?

  17. 17

    Passing parameters to Anonymous function inside click event

  18. 18

    Passing parameters to python -c inside a bash function?

  19. 19

    Passing Multiple Arrays As Parameters Into For Loops Inside Function

  20. 20

    Retrieving Query Parameters inside a Component

  21. 21

    Passing parameter inside $location.path in Angular

  22. 22

    basic java parameter passing, computation inside a method

  23. 23

    passing the function parameter value to the function inside that function

  24. 24

    Passing two values for one parameter inside RemoteFunction

  25. 25

    Passing struct parameter to a function inside a struct

  26. 26

    query entity with linq passing in two parameters

  27. 27

    Passing query parameters in Dapper using OleDb

  28. 28

    Mule Sql Query - passing parameters to the IN operator

  29. 29

    Passing list of enum values as HTTP query parameters

HotTag

Archive