栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 云计算 > 云平台

oracle 抽到hive

云平台 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

oracle 抽到hive

oracle 到hive

{
  "job": {
    "jobId": "${jobId}",
    "jobVersionId": "${jobVersionId}",
    "executeId": "${executeId}",
    "serverPort": "${serverPort}",
    "msg": "${msg}",
    "setting": {
      "speed": {
        "channel": "1"
      },
      "errorLimit": {}
    },
    "content": [
      {
        "reader": {
          "name": "oraclereader",
          "parameter": {
            "username": "taquery",
            "password": "natx_2003",
            "column": [
              ""TRANSACTIONCFMDATE"",
              ""INCOMEDATE"",
              ""TANO"",
              ""CUSTNO"",
              ""INVESTORNAME"",
              ""TAACCOUNTID"",
              ""DISTRIBUTORCODE"",
              ""TRANSACTIONACCOUNTID"",
              ""BRANCHCODE"",
              ""INVTP"",
              ""FUNDCODE"",
              ""SHARETYPE"",
              ""LAST_SHARECLASS"",
              ""SHARECLASS"",
              ""BASEFUNDVOL"",
              ""TAFUNDVOL"",
              ""MINUSFUNDVOL"",
              ""LAST_UNCOME"",
              ""UNCOME"",
              ""LAST_UNFOOTINCOME"",
              ""UNFOOTINCOME"",
              ""LAST_UNFOOTFROZENINCOME"",
              ""UNFOOTFROZENINCOME"",
              ""INCOMECHG"",
              ""DISPERSION"",
              ""FOOTINCOME"",
              ""TOTINVESTAMT"",
              ""TOTINCOMEAMT"",
              ""REDEEMVOL"",
              ""LASTUPDATEDATE"",
              ""LAST_ABNMFROZEN""
            ],
            "connection": [
              {
                "table": [
                  ""KDSSTA"."BAL_INCOME""
                ],
                "jdbcUrl": [
                  "jdbc:oracle:thin:@10.20.0.102:1521:nata2"
                ]
              }
            ],
            "where": "1=1  and   ("INCOMEDATE" >='${ld_beginDate}') and   ("INCOMEDATE" <='${ld_endDate}')"
          }
        },
        "writer": {
          "name": "hivewriter",
          "parameter": {
            "jdbcUrl": "jdbc:hive2://10.32.11.3:10000/ld",
            "databaseName": "ld",
            "tableName": "`ssta_bal_income`",
            "defaultFS": "hdfs://10.32.11.1:8020",
            "writeMode": "truncate",
            "column": [
              {
                "name": "`transactioncfmdate`",
                "type": "string"
              },
              {
                "name": "`incomedate`",
                "type": "string"
              },
              {
                "name": "`tano`",
                "type": "string"
              },
              {
                "name": "`custno`",
                "type": "string"
              },
              {
                "name": "`investorname`",
                "type": "string"
              },
              {
                "name": "`taaccountid`",
                "type": "string"
              },
              {
                "name": "`distributorcode`",
                "type": "string"
              },
              {
                "name": "`transactionaccountid`",
                "type": "string"
              },
              {
                "name": "`branchcode`",
                "type": "string"
              },
              {
                "name": "`invtp`",
                "type": "string"
              },
              {
                "name": "`fundcode`",
                "type": "string"
              },
              {
                "name": "`sharetype`",
                "type": "string"
              },
              {
                "name": "`last_shareclass`",
                "type": "string"
              },
              {
                "name": "`shareclass`",
                "type": "string"
              },
              {
                "name": "`basefundvol`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`tafundvol`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`minusfundvol`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`last_uncome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`uncome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`last_unfootincome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`unfootincome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`last_unfootfrozenincome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`unfootfrozenincome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`incomechg`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`dispersion`",
                "type": "decimal(9,8)"
              },
              {
                "name": "`footincome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`totinvestamt`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`totincomeamt`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`redeemvol`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`lastupdatedate`",
                "type": "string"
              },
              {
                "name": "`last_abnmfrozen`",
                "type": "decimal(16,2)"
              }
            ],
            "originalColumn": [
              {
                "name": "`transactioncfmdate`",
                "type": "string"
              },
              {
                "name": "`incomedate`",
                "type": "string"
              },
              {
                "name": "`tano`",
                "type": "string"
              },
              {
                "name": "`custno`",
                "type": "string"
              },
              {
                "name": "`investorname`",
                "type": "string"
              },
              {
                "name": "`taaccountid`",
                "type": "string"
              },
              {
                "name": "`distributorcode`",
                "type": "string"
              },
              {
                "name": "`transactionaccountid`",
                "type": "string"
              },
              {
                "name": "`branchcode`",
                "type": "string"
              },
              {
                "name": "`invtp`",
                "type": "string"
              },
              {
                "name": "`fundcode`",
                "type": "string"
              },
              {
                "name": "`sharetype`",
                "type": "string"
              },
              {
                "name": "`last_shareclass`",
                "type": "string"
              },
              {
                "name": "`shareclass`",
                "type": "string"
              },
              {
                "name": "`basefundvol`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`tafundvol`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`minusfundvol`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`last_uncome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`uncome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`last_unfootincome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`unfootincome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`last_unfootfrozenincome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`unfootfrozenincome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`incomechg`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`dispersion`",
                "type": "decimal(9,8)"
              },
              {
                "name": "`footincome`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`totinvestamt`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`totincomeamt`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`redeemvol`",
                "type": "decimal(16,2)"
              },
              {
                "name": "`lastupdatedate`",
                "type": "string"
              },
              {
                "name": "`last_abnmfrozen`",
                "type": "decimal(16,2)"
              }
            ]
          }
        }
      }
    ]
  }
}
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/896275.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号