You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2019/10/02 05:39:47 UTC

[GitHub] [incubator-hudi] HariprasadAllaka1612 commented on issue #933: Support for multiple level partitioning in Hudi

HariprasadAllaka1612 commented on issue #933: Support for multiple level partitioning in Hudi
URL: https://github.com/apache/incubator-hudi/issues/933#issuecomment-537344107
 
 
   yes i am using spark data source. 
   
   I feel this is to extract the data which is already partitioned in hive. I wanted to know if we can store the data from a data frame using this class.  the schema of my dataframe is mentioned below
   
   root
    |-- amount_gc: double (nullable = true)
    |-- bonus_amount_gc: double (nullable = true)
    |-- bonus_balance_gc: double (nullable = true)
    |-- game_currency: string (nullable = true)
    |-- description: string (nullable = true)
    |-- device: string (nullable = true)
    |-- free_game_external_id: string (nullable = true)
    |-- game_id: string (nullable = true)
    |-- game_session_id: string (nullable = true)
    |-- jackpot_contribution_gc: double (nullable = true)
    |-- jackpot_payout_gc: double (nullable = true)
    |-- jackpot_seed_gc: double (nullable = true)
    |-- provider_id: long (nullable = true)
    |-- player_session_id: long (nullable = true)
    |-- promotional: boolean (nullable = true)
    |-- round_id: string (nullable = true)
    |-- real_amount_gc: double (nullable = true)
    |-- request_id: string (nullable = true)
    |-- system_exchange_rate: double (nullable = true)
    |-- transaction_id: string (nullable = true)
    |-- turnover: long (nullable = true)
    |-- total_balance_gc: double (nullable = true)
    |-- transaction_type: string (nullable = true)
    |-- player_id: string (nullable = true)
    |-- exchange_rate: double (nullable = true)
    |-- handled_ts: timestamp (nullable = true)
    |-- amount_pc: double (nullable = true)
    |-- real_amount_pc: double (nullable = true)
    |-- bonus_amount_pc: double (nullable = true)
    |-- OperatorShortName: string (nullable = false)
    |-- year: integer (nullable = true)
    |-- month: integer (nullable = true)
    |-- day: integer (nullable = true)
   
   I wanted to store the data partitioning it based on the last four columns of the schema in the same order

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services