Bug in tar reading support
Wednesday, 5 March 2014 · 3 messages · last reply 7 Mar 2014
HE
Hondros, Constantine (ELS-AMS)5 Mar 2014 15:15 #
Hi Basex team,
I have discovered an apparent bug in the tar-reading support new in Basex 7.8.1. Roughly 50% of the files in my tars are not being imported. When the tar is unpacked and imported from the file-system, 100% of files are imported.
@Christian: I will mail you privately the location of a sample tar for you to test.
On CREATE DB from unpacked tarfile, count(/*) = 1030
On CREATE DB from tarfile, count(/*) = 554
Selected options were:
set
INTPARSE true
set STRIPNS true
set SKIPCORRUPT true
Cheers,
Constantine
________________________________
Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The Netherlands, Registration No. 33156677, Registered in The Netherlands.CG
Christian Grün7 Mar 2014 12:51 #
Hi Constantine,
the problem has been fixed [1, 2].
Best,
Christian
[1] http://files.basex.org/releases/latest/
[2] https://github.com/BaseXdb/basex/commit/e529847a63b4abd19e42289c4ed1c5f09be607d3
Quoted text · Constantine (ELS-AMS) · 50 lines
On Wed, Mar 5, 2014 at 3:15 PM, Hondros, Constantine (ELS-AMS) <C.Hondros at elsevier.com> wrote: > Hi Basex team, > > > > I have discovered an apparent bug in the tar-reading support new in Basex > 7.8.1. Roughly 50% of the files in my tars are not being imported. When the > tar is unpacked and imported from the file-system, 100% of files are > imported. > > > > @Christian: I will mail you privately the location of a sample tar for you > to test. > > > > On CREATE DB from unpacked tarfile, count(/*) = 1030 > > On CREATE DB from tarfile, count(/*) = 554 > > > > Selected options were: > > set INTPARSE true > > set STRIPNS true > > set SKIPCORRUPT true > > > > Cheers, > > Constantine > > > ________________________________ > > Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The > Netherlands, Registration No. 33156677, Registered in The Netherlands. > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk >
HE
Hondros, Constantine (ELS-AMS)7 Mar 2014 12:54 #
Many thanks for your swift attention to this problem, Christian! I will download the snapshot and have a good test.
Cheers,
Constantine
Quoted text · Christian Grün · 62 lines
-----Original Message----- From: Christian Grün [mailto:christian.gruen at gmail.com] Sent: 07 March 2014 12:52 To: Hondros, Constantine (ELS-AMS) Cc: basex-talk at mailman.uni-konstanz.de Subject: Re: [basex-talk] Bug in tar reading support Hi Constantine, the problem has been fixed [1, 2]. Best, Christian [1] http://files.basex.org/releases/latest/ [2] https://github.com/BaseXdb/basex/commit/e529847a63b4abd19e42289c4ed1c5f09be607d3 On Wed, Mar 5, 2014 at 3:15 PM, Hondros, Constantine (ELS-AMS) <C.Hondros at elsevier.com> wrote: > Hi Basex team, > > > > I have discovered an apparent bug in the tar-reading support new in > Basex 7.8.1. Roughly 50% of the files in my tars are not being > imported. When the tar is unpacked and imported from the file-system, > 100% of files are imported. > > > > @Christian: I will mail you privately the location of a sample tar for > you to test. > > > > On CREATE DB from unpacked tarfile, count(/*) = 1030 > > On CREATE DB from tarfile, count(/*) = 554 > > > > Selected options were: > > set INTPARSE true > > set STRIPNS true > > set SKIPCORRUPT true > > > > Cheers, > > Constantine > > > ________________________________ > > Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The > Netherlands, Registration No. 33156677, Registered in The Netherlands. > > > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk > Elsevier B.V. Registered Office: Radarweg 29, 1043 NX Amsterdam, The Netherlands, Registration No. 33156677, Registered in The Netherlands.
Written for BaseX 7.8. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery