svn commit: r47748 - in /dev/impala/4.0.0/RC5: ./ apache-impala-4.0.0.tar.gz apache-impala-4.0.0.tar.gz.asc apache-impala-4.0.0.tar.gz.sha512

2021-05-16 Thread jbapple
Author: jbapple
Date: Sun May 16 14:27:48 2021
New Revision: 47748

Log:
Impala 4.0.0 release candidate 5

Added:
dev/impala/4.0.0/RC5/
dev/impala/4.0.0/RC5/apache-impala-4.0.0.tar.gz   (with props)
dev/impala/4.0.0/RC5/apache-impala-4.0.0.tar.gz.asc
dev/impala/4.0.0/RC5/apache-impala-4.0.0.tar.gz.sha512

Added: dev/impala/4.0.0/RC5/apache-impala-4.0.0.tar.gz
==
Binary file - no diff available.

Propchange: dev/impala/4.0.0/RC5/apache-impala-4.0.0.tar.gz
--
svn:mime-type = application/octet-stream

Added: dev/impala/4.0.0/RC5/apache-impala-4.0.0.tar.gz.asc
==
--- dev/impala/4.0.0/RC5/apache-impala-4.0.0.tar.gz.asc (added)
+++ dev/impala/4.0.0/RC5/apache-impala-4.0.0.tar.gz.asc Sun May 16 14:27:48 2021
@@ -0,0 +1,16 @@
+-BEGIN PGP SIGNATURE-
+
+iQIzBAABCgAdFiEEh0vI+ceLpmgEQJl0z0+RecqeARsFAmChK0gACgkQz0+Recqe
+ARtZ7Q/8CYeG+JELcrjAhHXvQrRI5hXo00hBQCnrJZiIMm1/RmhD4SFJ+LZ7YC1d
+l+3LUWmsXloB9PdNl7mi9V3xrS2UdKvLqUJ6Gmbe6pTMvhDnb1YFXCV/dNWRKVAo
+QY5RVOG42HVmYbdFwpkxbSCr7jDVA6O7lK0MPs4xcFxiCbWHV+tWrc+w3xRbtSQb
+MFF0/2KSN5wLiu9opB+ckaWwgxxBnCWxJsFAk6OBQWzq3V0GkGWUp93dalmrb/lu
+8VDvke78DXF6G9KQPKuB8YBbstXDx8qrPmhm+4+87yMlJgtN8uGqbiYUd3rciENJ
+L2jn+sFQPtstEJPY9IsiZFCru7Guzmg7ipHvYpYlSniPxrxTXMW6K/hbrRt+7f2h
+XOsUjAk5uUPMqXaWeetChx7d/1ngr7ivbyn4kvvSxTt/XS29kDFOuvV5B2YOfVvQ
+tl1aXErfYd6aFBV6Gj5mUcefb5Xl6GydJ+Rteh1yRs79L8MZ+0FtJYYb36L0qdi1
+0+5al5mJ+ee8T/DECen37wltCZitMm3fjAdaQPLMj6eQVu94ztHmAfWcmOBi3mb2
+KCmInJzfgVVk/rKoQ1Aih3fqIfVNDh2XId+ze4k3IxMvOvMhvdfFJUOOMxNzKgfj
+z/qdbRV/zkJFrjr8ORAFI7zHhVaU4oBcAQOrB96pPw4YbtrQNeE=
+=zl1A
+-END PGP SIGNATURE-

Added: dev/impala/4.0.0/RC5/apache-impala-4.0.0.tar.gz.sha512
==
--- dev/impala/4.0.0/RC5/apache-impala-4.0.0.tar.gz.sha512 (added)
+++ dev/impala/4.0.0/RC5/apache-impala-4.0.0.tar.gz.sha512 Sun May 16 14:27:48 
2021
@@ -0,0 +1 @@
+262cfbddff646dada9dcaab26ade686a3fbe756033521b4ff04faf0704d1e6f8097848a14d6f4f847dcb33eeb5b2e99c102d4d08280262e0d6165f7f91acb913
  apache-impala-4.0.0.tar.gz




[impala] annotated tag 4.0.0-rc5 created (now d35a14e)

2021-05-16 Thread jbapple
This is an automated email from the ASF dual-hosted git repository.

jbapple pushed a change to annotated tag 4.0.0-rc5
in repository https://gitbox.apache.org/repos/asf/impala.git.


  at d35a14e  (tag)
 tagging bc94f3ad57837ee31e7bde528d1edad944d56940 (commit)
 replaces 4.0.0-rc4
  by Jim Apple
  on Sun May 16 07:24:17 2021 -0700

- Log -
4.0.0 release candidate 5
---

No new revisions were added by this update.


[impala] branch branch-4.0.0 updated: IMPALA-10696: fix accuracy problem

2021-05-16 Thread jbapple
This is an automated email from the ASF dual-hosted git repository.

jbapple pushed a commit to branch branch-4.0.0
in repository https://gitbox.apache.org/repos/asf/impala.git


The following commit(s) were added to refs/heads/branch-4.0.0 by this push:
 new bc94f3a  IMPALA-10696: fix accuracy problem
bc94f3a is described below

commit bc94f3ad57837ee31e7bde528d1edad944d56940
Author: liuyao <54liu...@163.com>
AuthorDate: Sat May 8 11:23:53 2021 +0800

IMPALA-10696: fix accuracy problem

Table alltypes has no statistics, so the cardinality of alltypes
will be estimated based on the hdfs files and the avg row size.
Calling PrintUtils.printMetric, double will be divided by long. There
will be accuracy problems. In most cases, the number of lines
calculated is 17.91 K. But due to accuracy problems here, the
calculated value is 17.90K.

I modified line 221 of stats-extrapolation.test and used row_regex
to match, referring to the matching method of cardinality in line
224,in this case, their values are the same

Testing:
metadata/test_stats_extrapolation.py

Change-Id: I0a1a3809508c90217517705b2b188b2ccba6f23f
Reviewed-on: http://gerrit.cloudera.org:8080/17411
Tested-by: Impala Public Jenkins 
Reviewed-by: Jim Apple 
---
 .../functional-query/queries/QueryTest/stats-extrapolation.test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/testdata/workloads/functional-query/queries/QueryTest/stats-extrapolation.test
 
b/testdata/workloads/functional-query/queries/QueryTest/stats-extrapolation.test
index 1e05208..fc540a5 100644
--- 
a/testdata/workloads/functional-query/queries/QueryTest/stats-extrapolation.test
+++ 
b/testdata/workloads/functional-query/queries/QueryTest/stats-extrapolation.test
@@ -218,7 +218,7 @@ explain select id from alltypes;
  RESULTS: VERIFY_IS_SUBSET
 '   stored statistics:'
 ' table: rows=unavailable size=unavailable'
-' partitions: 0/24 rows=17.91K'
+row_regex:.* partitions: 0/24 rows=17\.9.*K
 ' columns: unavailable'
 row_regex:.* extrapolated-rows=unavailable.*
 row_regex:.* tuple-ids=0 row-size=4B cardinality=17\.9.*K