You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/09/25 23:14:47 UTC

[GitHub] [incubator-iceberg] rominparekh commented on issue #496: Adding back public access to Builder add method

rominparekh commented on issue #496: Adding back public access to Builder add method
URL: https://github.com/apache/incubator-iceberg/pull/496#issuecomment-535260325
 
 
   @rdblue : One example of custom transform usage is to define a custom target column name for an existing transform function. For instance - 
   ```scala
   // gives us `timestamp_day` as target col
   PartitionSpec.builderFor(schema)
       .day("timestamp") 
   
    // gives us `_ADBE_DAY` as target col
   PartitionSpec.builderFor(schema)
       .add(1 /* fieldId */, "_ADBE_DAY", "day")
   ```
   
   cc: @prodeezy 

----------------------------------------------------------------
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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org