Jonathan Vexler created HUDI-7064:
-------------------------------------
Summary: Temp view different reads cause issues with support batch
Key: HUDI-7064
URL: https://issues.apache.org/jira/browse/HUDI-7064
Project: Apache Hudi
Issue Type: Bug
Reporter: Jonathan Vexler
Assignee: Jonathan Vexler
The same reader is used so the support batch true from the first query is
cached for the second even though the second shouldn't support batch
{code:java}
res.registerTempTable("bootstrapped");
assertEquals(1950, sqlContext.sql("select distinct _hoodie_record_key from
bootstrapped").count());
// NOTE: To fetch record's count Spark will optimize the query fetching
minimal possible amount
// of data, which might not provide adequate amount of test coverage
sqlContext.sql("select * from bootstrapped").show(); {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)