[
https://issues.apache.org/jira/browse/BEAM-6874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17122885#comment-17122885
]
Beam JIRA Bot commented on BEAM-6874:
-------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it
has been labeled "stale-P2". If this issue is still affecting you, we care!
Please comment and remove the label. Otherwise, in 14 days the issue will be
moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed
explanation of what these priorities mean.
> HCatalogTableProvider always read all rows
> ------------------------------------------
>
> Key: BEAM-6874
> URL: https://issues.apache.org/jira/browse/BEAM-6874
> Project: Beam
> Issue Type: Bug
> Components: dsl-sql, io-java-hcatalog
> Affects Versions: 2.11.0
> Reporter: Near
> Priority: P2
> Labels: stale-P2
> Attachments: limit.png
>
>
> Hi,
> I'm using HCatalogTableProvider while doing SqlTransform.query. The query is
> something like "select * from `hive`.`table_name` limit 10". Despite of the
> limit clause, the data source still reads much more rows (the data of Hive
> table are files on S3), even more than the number of rows in one file (or
> partition).
>
> Some more details:
> # It is running on Flink.
> # I actually implemented my own HiveTableProvider because HCatalogBeamSchema
> only supports primitive types. However, the table provider works when I query
> a small table with ~1k rows.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)