AnsweredAssumed Answered

ODBC Interface for Apache Drill - Error message is truncated

Question asked by e.yassine on Oct 31, 2017
Latest reply on Nov 14, 2017 by arjunkr

Hi,

 

Using ODBC Interface for Apache Drill and the following instructions on Perl :

 

my $dbh = DBI->connect('dbi:ODBC:DSN=Drill');
my $rs = $dbh->prepare($query);
$rs->execute() or die "Error runninr $query : ".$rs->errstr;

 

When an error is raised and the error message is too lengthy, the $rs->errstr 's content is truncated and the message doesn't show up completely.

 

Is there any way to fix that ?

 

Thanks.

Outcomes