You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Steven Phillips (JIRA)" <ji...@apache.org> on 2014/02/25 01:48:19 UTC

[jira] [Updated] (DRILL-383) Use static AtomicLong to ensure generated class names are unique

     [ https://issues.apache.org/jira/browse/DRILL-383?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Phillips updated DRILL-383:
----------------------------------

    Attachment: DRILL-383.patch

> Use static AtomicLong to ensure generated class names are unique
> ----------------------------------------------------------------
>
>                 Key: DRILL-383
>                 URL: https://issues.apache.org/jira/browse/DRILL-383
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Steven Phillips
>            Assignee: Steven Phillips
>         Attachments: DRILL-383.patch
>
>
> Queries fail some times because the code generation will try to create a class that already has been loaded. Making the classNumber variable in TemplateClassDefinition static will ensure that the class names are unique.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)