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/04 16:12:59 UTC

[GitHub] [incubator-iceberg] rdblue commented on a change in pull request #447: Update doc to state that day partition transform produces data type

rdblue commented on a change in pull request #447: Update doc to state that day partition transform produces data type
URL: https://github.com/apache/incubator-iceberg/pull/447#discussion_r320848766
 
 

 ##########
 File path: site/docs/spec.md
 ##########
 @@ -139,7 +139,7 @@ Partition specs capture the transform from table data to partition values. This
 | **`truncate[W]`** | Value truncated to width `W` (see below)                     | `int`, `long`, `decimal`, `string`                                                                        | Source type |
 | **`year`**        | Extract a date or timestamp year, as years from 1970         | `date`, `timestamp(tz)`                                                                                   | `int`       |
 | **`month`**       | Extract a date or timestamp month, as months from 1970-01-01 | `date`, `timestamp(tz)`                                                                                   | `int`       |
-| **`day`**         | Extract a date or timestamp day, as days from 1970-01-01     | `date`, `timestamp(tz)`                                                                                   | `int`       |
+| **`day`**         | Extract a date or timestamp day, as date                     | `date`, `timestamp(tz)`                                                                                   | `date`      |
 
 Review comment:
   This should change the type but not description.

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