flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tonycox <...@git.apache.org>
Subject [GitHub] flink issue #3149: FLINK-2168 Add HBaseTableSource
Date Mon, 30 Jan 2017 12:56:03 GMT
Github user tonycox commented on the issue:

    https://github.com/apache/flink/pull/3149
  
    @ramkrish86 sorry for confusing, don't pay attention to new generating maps.
    I think `PushProjectIntoBatchTableSourceScanRule` is not good enough for nested data types.
but we can project at least family columns now. 
    `HBaseTableSchema` keep `familyMap` and might keep a list with family names.
    for example, while `addColumn`
    ```java
    List<Pair<String, TypeInformation<?>>> list = this.familyMap.get(family);
        if (list == null) {
            familyNames.add(family);
            list = new ArrayList<>();
        }
    ```
    so we have access to family column by index


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message