Files
impala/testdata/workloads/functional-query/queries/QueryTest/unsupported-compression-partitions.test
Joe McDonnell f15a311065 IMPALA-9709: Remove Impala-lzo from the development environment
This removes Impala-lzo from the Impala development environment.
Impala-lzo is not built as part of the Impala build. The LZO plugin
is no longer loaded. LZO tables are not loaded during dataload,
and LZO is no longer tested.

This removes some obsolete scan APIs that were only used by Impala-lzo.
With this commit, Impala-lzo would require code changes to build
against Impala.

The plugin infrastructure is not removed, and this leaves some
LZO support code in place. If someone were to decide to revive
Impala-lzo, they would still be able to load it as a plugin
and get the same functionality as before. This plugin support
may be removed later.

Testing:
 - Dryrun of GVO
 - Modified TestPartitionMetadataUncompressedTextOnly's
   test_unsupported_text_compression() to add LZO case

Change-Id: I3a4f12247d8872b7e14c9feb4b2c58cfd60d4c0e
Reviewed-on: http://gerrit.cloudera.org:8080/15814
Reviewed-by: Bikramjeet Vig <bikramjeet.vig@cloudera.com>
Tested-by: Joe McDonnell <joemcdonnell@cloudera.com>
2020-06-15 23:42:12 +00:00

35 lines
902 B
Plaintext

====
---- QUERY
# Test that querying only partitions with supported formats works as expected.
select count(*)
from multi_text_compression where month <= 2
---- TYPES
BIGINT
---- RESULTS
590
====
---- QUERY
# Test that querying partition with unsupported plugin fails gracefully.
select count(*)
from multi_text_compression where month <= 3
---- CATCH
Scanner plugin 'LZ4' is not one of the enabled plugins: ''
====
---- QUERY
# Unknown compression suffix is treated as uncompressed text.
select id
from multi_text_compression where month = 4
---- RESULTS
---- TYPES
INT
---- ERRORS
Error converting column: 0 to INT
Error parsing row: file: __HDFS_FILENAME__, before offset: 16
====
---- QUERY
# Test that querying partition with unsupported plugin fails gracefully.
select count(*)
from multi_text_compression where month = 5
---- CATCH
Scanner plugin 'LZO' is not one of the enabled plugins: ''
====