commit | 6be3f6f3cc5359082a75c1aae9cdcd995cd34e5b | [log] [tgz] |
---|---|---|
author | Paul Rogers <par0328@yahoo.com> | Mon Dec 30 22:30:06 2019 -0800 |
committer | Volodymyr Vysotskyi <vvovyk@gmail.com> | Thu Jan 09 16:24:25 2020 +0200 |
tree | b740440be689370598e1b694615d0cf0209e7ab9 | |
parent | a944afb8925ca710caa9e590e0bcb4a2d1a66ab5 [diff] |
DRILL-7502: Invalid codegen for typeof() with UNION Also fixes DRILL-6362: typeof() reports NULL for primitive columns with a NULL value. typeof() is meant to return "NULL" if a UNION has a NULL value, but the column type when known, such as for non-UNION columns. Also fixes DRILL-7499: sqltypeof() function with an array returns "ARRAY", not type. This was due to treating REPEATED like LIST. Handling of the Union vector in code gen is problematic with about three special cases. Existing code handled two of the cases. This change handles the third case. Figuring out the change required poking around quite a bit of unclear code. Added comments and restructuring to make that code a bit more clear. The fix modified code gen for the Union Holder. It can now "go back in time" to add the union reader at the point we need it. closes #1945
Apache Drill is a distributed MPP query layer that supports SQL and alternative query languages against NoSQL and Hadoop data storage systems. It was inspired in part by Google's Dremel.
Please read Environment.md for setting up and running Apache Drill. For complete developer documentation see DevDocs.md
Please see the Apache Drill Website or the Apache Drill Documentation for more information including:
Apache Drill is an Apache Foundation project and is seeking all types of users and contributions. Please say hello on the Apache Drill mailing list.You can also join our Google Hangouts or join our Slack Channel if you need help with using or developing Apache Drill. (More information can be found on Apache Drill website).
This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.
The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code. The following provides more details on the included cryptographic software: Java SE Security packages are used to provide support for authentication, authorization and secure sockets communication. The Jetty Web Server is used to provide communication via HTTPS. The Cyrus SASL libraries, Kerberos Libraries and OpenSSL Libraries are used to provide SASL based authentication and SSL communication.