AnsweredAssumed Answered

ODBC Interface for Apache Drill - Error message is truncated

Question asked by e.yassine on Oct 31, 2017
Latest reply on Nov 21, 2017 by maprcommunity



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 ?