doc-exports/docs/dataartsstudio/api-ref/dataartsstudio_02_0285.html
Xiong, Chen Xiao 14a6d65e8c DataArts API 20240130 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
Co-committed-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
2024-03-01 11:46:15 +00:00

6.6 KiB

From Hive

Sample JSON File

"from-config-values": {
        "configs": [
          {
            "inputs": [
              {
                "name": "fromJobConfig.hive",
                "value": "hive"
              },
              {
                "name": "fromJobConfig.database",
                "value": "rf_database"
              },
              {
                "name": "fromJobConfig.table",
                "value": "rf_from"
              },
              {
                "name": "fromJobConfig.columnList",
                "value": "tiny&small&int&integer&bigint&float&double&timestamp&char&varchar&text"
              }
            ],
            "name": "fromJobConfig"
          }
        ]
      }

Parameter Description

Parameter

Mandatory

Type

Description

fromJobConfig.hive

No

String

Data source to be extracted. If the data source is Hive, set this parameter to hive.

fromJobConfig.database

No

String

Database from which data is extracted. For example, default.

fromJobConfig.table

Yes

String

Name of the table from which data is extracted. For example, cdm.

fromJobConfig.columnList

No

String

Numbers of columns to be extracted. Use & to separate column numbers in ascending order. For example, 1&3&5.