[
https://issues.jboss.org/browse/TEIIDDES-1853?page=com.atlassian.jira.plu...
]
Paul Richardson commented on TEIIDDES-1853:
-------------------------------------------
Execution plan view is updated when an sql query is initiated using the
TeiidAdHocScriptRunnable, which calls ExecutionPlanView.updateContents() independently
from updating the SQL Results View.
Selection in the SQL Results View is never advertised to any other clients and the class
itself is internal so short of some nasty reflection cannot be accessed.
Clearing the SQL Results View is currently failing due to a bug in the datatools project.
Thus, all the listeners (after the HistoryIndexListener) from the IResultsManager are
never fired.
{code}
java.lang.UnsupportedOperationException: This IndexReader cannot make any changes to the
index (it was opened with readOnly = true)
at org.apache.lucene.index.ReadOnlySegmentReader.noWrite(ReadOnlySegmentReader.java:23)
at
org.apache.lucene.index.ReadOnlyDirectoryReader.acquireWriteLock(ReadOnlyDirectoryReader.java:43)
at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:1339)
at org.apache.lucene.index.IndexReader.deleteDocuments(IndexReader.java:1375)
at
org.eclipse.datatools.sqltools.result.internal.index.ResultHistoryLuceneIndex.removeResults(ResultHistoryLuceneIndex.java:184)
at
org.eclipse.datatools.sqltools.result.internal.index.ResultHistoryLuceneIndex.removeResult(ResultHistoryLuceneIndex.java:155)
at
org.eclipse.datatools.sqltools.result.internal.index.HistoryIndexListener.resultInstanceRemoved(HistoryIndexListener.java:34)
at
org.eclipse.datatools.sqltools.result.ResultManager.fireRemoved(ResultManager.java:117)
at
org.eclipse.datatools.sqltools.result.ResultManager.removeResultInstance(ResultManager.java:200)
at
org.eclipse.datatools.sqltools.result.internal.ui.actions.RemoveResultAction.run(RemoveResultAction.java:100)
at
org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSelectionListenerAction.java:168)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1392)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3742)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3363)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)
at org.eclipse.equinox.launcher.Main.main(Main.java:1426)
{code}
Teiid Execution Plan content not synchronized wit SQL Result view
-----------------------------------------------------------------
Key: TEIIDDES-1853
URL:
https://issues.jboss.org/browse/TEIIDDES-1853
Project: Teiid Designer
Issue Type: Bug
Components: Data Preview
Affects Versions: 8.2.x-prod-eds6.0
Reporter: Barry LaFond
Assignee: Paul Richardson
Fix For: 8.2.x-prod-eds6.0
1) Previewed 2 different tables and viewed the new Visualization diagram for Teiid
Execution Plan for both
2) In SQL Results tab/view I selected a different SQL Results row and expected the Plan
view to be updated with it's plan results.
3) Cleared the SQL Results View and the plan view did not clear
Don't know if this behavior was intended or not. Does the plan get cached in a
similar fashion as the SQL Results? or just the last query results?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira