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/12 00:30:10 UTC

[incubator-iceberg] branch master updated: Add key_metadata to DataTableScan SCAN_COLUMNS (#469)

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 245d2ea  Add key_metadata to DataTableScan SCAN_COLUMNS (#469)
245d2ea is described below

commit 245d2ea73257f2bf05e1b5f3d0f7630b0b18f137
Author: bsannicolas <50...@users.noreply.github.com>
AuthorDate: Wed Sep 11 17:30:06 2019 -0700

    Add key_metadata to DataTableScan SCAN_COLUMNS (#469)
---
 core/src/main/java/org/apache/iceberg/DataTableScan.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/iceberg/DataTableScan.java b/core/src/main/java/org/apache/iceberg/DataTableScan.java
index 3cb4878..f7d9451 100644
--- a/core/src/main/java/org/apache/iceberg/DataTableScan.java
+++ b/core/src/main/java/org/apache/iceberg/DataTableScan.java
@@ -40,7 +40,7 @@ public class DataTableScan extends BaseTableScan {
 
   private static final List<String> SCAN_COLUMNS = ImmutableList.of(
       "snapshot_id", "file_path", "file_ordinal", "file_format", "block_size_in_bytes",
-      "file_size_in_bytes", "record_count", "partition"
+      "file_size_in_bytes", "record_count", "partition", "key_metadata"
   );
   private static final List<String> SCAN_WITH_STATS_COLUMNS = ImmutableList.<String>builder()
       .addAll(SCAN_COLUMNS)