[
https://issues.apache.org/jira/browse/DRILL-6097?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Arina Ielchiieva updated DRILL-6097:
------------------------------------
Description: Currently the QueryContext does not implement an interface and
the concrete class is passed around everywhere. Additionally Mockito is used in
tests to mock it. Ideally we would make the QueryContext implement an interface
and create a mock implementation of it that is used in the tests, just like
what we did for the FragmentContext.
> Create an interface for the QueryContext
> ----------------------------------------
>
> Key: DRILL-6097
> URL: https://issues.apache.org/jira/browse/DRILL-6097
> Project: Apache Drill
> Issue Type: Improvement
> Environment: Currently the QueryContext does not implement an
> interface and the concrete class is passed around everywhere. Additionally
> Mockito is used in tests to mock it. Ideally we would make the QueryContext
> implement an interface and create a mock implementation of it that is used in
> the tests, just like what we did for the FragmentContext.
> Reporter: Timothy Farkas
> Assignee: Timothy Farkas
> Priority: Major
>
> Currently the QueryContext does not implement an interface and the concrete
> class is passed around everywhere. Additionally Mockito is used in tests to
> mock it. Ideally we would make the QueryContext implement an interface and
> create a mock implementation of it that is used in the tests, just like what
> we did for the FragmentContext.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)