You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iceberg.apache.org by bl...@apache.org on 2019/09/13 16:09:37 UTC

[incubator-iceberg] branch master updated: Spec: Update day transform to produce date type (#447)

This is an automated email from the ASF dual-hosted git repository.

blue pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iceberg.git


The following commit(s) were added to refs/heads/master by this push:
     new 7dadd1a  Spec: Update day transform to produce date type (#447)
7dadd1a is described below

commit 7dadd1aef55f8d0fc5ca65bdee36c8a810069e89
Author: Xiang Li <wa...@gmail.com>
AuthorDate: Sat Sep 14 00:09:31 2019 +0800

    Spec: Update day transform to produce date type (#447)
---
 site/docs/spec.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site/docs/spec.md b/site/docs/spec.md
index 549e2e5..756621e 100644
--- a/site/docs/spec.md
+++ b/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 days from 1970-01-01     | `date`, `timestamp(tz)`                                                                                   | `date`      |
 | **`hour`**        | Extract a timestamp hour, as hours from 1970-01-01 00:00:00  | `timestamp(tz)`                                                                                           | `int`       |
 
 All transforms must return `null` for a `null` input value.