Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.1
Description
Llap external client gives different precision/scale as compared to when the query is executed beeline. Consider the following results:
Query:
select avg(ss_ext_sales_price) my_avg from store_sales;
Result from Beeline
+----------------------------+ | my_avg | +----------------------------+ | 37.8923531030581611189434 | +----------------------------+
Result from Llap external client
+---------+ | my_avg| +---------+ |37.892353| +---------+
This is due to Driver(beeline path) calls analyzeInternal() for getting result set schema which initializes resultSchema after some more transformations as compared to llap-ext-client which calls genLogicalPlan()
Replacing genLogicalPlan() by analyze() resolves this.
Attachments
Attachments
Issue Links
- links to