From 4cb9e19190fa5ca8111a9973f8cdc83052d65d64 Mon Sep 17 00:00:00 2001 From: weiye Date: Thu, 26 Mar 2020 12:00:31 +0800 Subject: [PATCH] =?UTF-8?q?#67=20=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/wugui/datax/admin/tool/datax/DataxJsonHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datax-admin/src/main/java/com/wugui/datax/admin/tool/datax/DataxJsonHelper.java b/datax-admin/src/main/java/com/wugui/datax/admin/tool/datax/DataxJsonHelper.java index 1a68150c..28ee85a3 100644 --- a/datax-admin/src/main/java/com/wugui/datax/admin/tool/datax/DataxJsonHelper.java +++ b/datax-admin/src/main/java/com/wugui/datax/admin/tool/datax/DataxJsonHelper.java @@ -294,7 +294,7 @@ public Map buildHBaseWriter() { List> columns = Lists.newArrayList(); for (int i = 0; i < writerColumns.size(); i++) { Map column = Maps.newLinkedHashMap(); - column.put("index", i); + column.put("index", i+1); column.put("name", writerColumns.get(i)); column.put("type", "string"); columns.add(column);