phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-2481) JSON Bulkload Tool
Date Mon, 07 Dec 2015 00:41:10 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-2481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15044220#comment-15044220
] 

ASF GitHub Bot commented on PHOENIX-2481:
-----------------------------------------

Github user JamesRTaylor commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/141#discussion_r46779479
  
    --- Diff: phoenix-core/src/main/java/org/apache/phoenix/mapreduce/JsonBulkLoadTool.java
---
    @@ -0,0 +1,53 @@
    +/*
    + * Licensed to the Apache Software Foundation (ASF) under one
    + * or more contributor license agreements.  See the NOTICE file
    + * distributed with this work for additional information
    + * regarding copyright ownership.  The ASF licenses this file
    + * to you under the Apache License, Version 2.0 (the
    + * "License"); you may not use this file except in compliance
    + * with the License.  You may obtain a copy of the License at
    + *
    + * http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +package org.apache.phoenix.mapreduce;
    +
    +import java.sql.SQLException;
    +import java.util.List;
    +
    +import org.apache.commons.cli.CommandLine;
    +import org.apache.hadoop.conf.Configuration;
    +import org.apache.hadoop.mapreduce.Job;
    +import org.apache.hadoop.util.ToolRunner;
    +import org.apache.phoenix.util.ColumnInfo;
    +
    +/**
    + * Base tool for running MapReduce-based ingests of data.
    --- End diff --
    
    Nested JSON data is not handled and lists are converted to ARRAYs.


> JSON Bulkload Tool
> ------------------
>
>                 Key: PHOENIX-2481
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2481
>             Project: Phoenix
>          Issue Type: New Feature
>            Reporter: Nick Dimiduk
>            Assignee: Nick Dimiduk
>             Fix For: 4.7.0
>
>
> Would be nice to be able to load JSON directly, as we can CSV.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message