Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-8101

"Internal (unspecified) error in handler" from storage engine CONNECT

    Details

      Description

      Compressed files caused an unhandled error.

      # echo 1,test1 > test.tsv
      # echo 2,test2 >> test.tsv
      # gzip test.tsv
      
      CREATE TABLE test (
        c1 VARCHAR(100) NOT NULL field_format='%n%[^,]%n',
        c2 VARCHAR(100) NOT NULL field_format=',%n%s%n'
      )
      ENGINE=CONNECT table_type=FMT COMPRESS=1 file_name='test.tsv.gz';
      Select * from test;
      
      Got error 122 "Internal (unspecified) error in handler" from storage engine CONNECT
      

        Gliffy Diagrams

          Attachments

          1. test.gz
            0.0 kB
          2. test.tsv.gz
            0.0 kB
          3. test.tsv2.gz
            0.0 kB

            Activity

            Hide
            bertrandop Olivier Bertrand added a comment -

            What do you mean "same result"? Mine or yours?

            Show
            bertrandop Olivier Bertrand added a comment - What do you mean "same result"? Mine or yours?
            Hide
            ynaguib Younes Naguib added a comment -

            I tried again, this time on a different box running CentOS6 (CentOS release 6.6 (Final)), and it worked!!!!
            So, the problem seems to be with CentOS 7 (CentOS Linux release 7.1.1503 (Core)).

            I'll keep digging...

            Thanks,

            Show
            ynaguib Younes Naguib added a comment - I tried again, this time on a different box running CentOS6 (CentOS release 6.6 (Final)), and it worked!!!! So, the problem seems to be with CentOS 7 (CentOS Linux release 7.1.1503 (Core)). I'll keep digging... Thanks,
            Hide
            ynaguib Younes Naguib added a comment -

            I meant still errors out on Centos7.

            Younes

            Show
            ynaguib Younes Naguib added a comment - I meant still errors out on Centos7. Younes
            Hide
            ynaguib Younes Naguib added a comment -

            Which library do you use read the compressed files?

            y

            Show
            ynaguib Younes Naguib added a comment - Which library do you use read the compressed files? y
            Hide
            bertrandop Olivier Bertrand added a comment -

            gzip

            Show
            bertrandop Olivier Bertrand added a comment - gzip

              People

              • Assignee:
                bertrandop Olivier Bertrand
                Reporter:
                ynaguib Younes Naguib
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: