[JBoss JIRA] Created: (TEIIDDES-196) Change default for UDF property *deterministic* from false to true to improve usability
by Jerry Helbling (JIRA)
Change default for UDF property *deterministic* from false to true to improve usability
---------------------------------------------------------------------------------------
Key: TEIIDDES-196
URL: https://jira.jboss.org/jira/browse/TEIIDDES-196
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 6.1.0
Reporter: Jerry Helbling
Priority: Minor
[related to internal case IT281239]
Change the default value for the 'deterministic' property of User Defined Functions to true, so UDFs will be specified as 'deterministic' by default.
Currently the default value for the 'deterministic' property of User Defined Functions is false. It is probably false because that is the usual default for a boolean property. This is a usability issue because a user who creates a new UDF without paying attention to, and explicitly setting this property will wind up creating a non-deterministic UDF, by default.
That is a bad outcome for several reasons. First, most Functions, including User Defined Functions, are deterministic, not non-deterministic. So in most cases the current default makes it more likely that this property will be specified incorrectly. Secondly, specifying that a UDF is non-deterministic when it is really deterministic may create unnecessary performance issues. For example, the planner has the ability to optimize the placement of a deterministic function so that it can be called the fewest number of times. It is unable to do that with non-deterministic functions. More critically, a change was made to all versions in Feb 2009 (see Jira TEIID-16) that prevents the merging of queries if one of them contains a non-deterministic function. This can have a dramatically negative effect on performance (see internal case IT281239).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 6 months
[JBoss JIRA] Created: (TEIIDDES-195) Missing icon in query.ui plugin
by Barry LaFond (JIRA)
Missing icon in query.ui plugin
-------------------------------
Key: TEIIDDES-195
URL: https://jira.jboss.org/jira/browse/TEIIDDES-195
Project: Teiid Designer
Issue Type: Bug
Components: Views
Affects Versions: 6.0.0
Reporter: Barry LaFond
Assignee: Barry LaFond
Fix For: 6.1.0
While testing adding sources to Union queries I got an exception in the QueryTreeContentProvider...
org.eclipse.jface.resource.DeviceResourceException: Unable to create resource URLImageDescriptor(bundleentry://457/icons/full/obj16/join.gif)
at org.eclipse.jface.resource.ImageDescriptor.createResource(ImageDescriptor.java:167)
at org.eclipse.jface.resource.DeviceResourceManager.allocate(DeviceResourceManager.java:56)
at org.eclipse.jface.resource.AbstractResourceManager.create(AbstractResourceManager.java:88)
There is no join.gif and apparently there never has been.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 7 months
[JBoss JIRA] Resolved: (TEIIDDES-182) Salesforce Importer should retrieve the Distinct Value Count for each column when creating the models, in order to improve cost-based query optimization
by John Doyle (JIRA)
[ https://jira.jboss.org/jira/browse/TEIIDDES-182?page=com.atlassian.jira.p... ]
John Doyle resolved TEIIDDES-182.
---------------------------------
Resolution: Done
Revision 258
I implemented this for the initial import.
> Salesforce Importer should retrieve the Distinct Value Count for each column when creating the models, in order to improve cost-based query optimization
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-182
> URL: https://jira.jboss.org/jira/browse/TEIIDDES-182
> Project: Teiid Designer
> Issue Type: Feature Request
> Components: Import/Export
> Affects Versions: 6.0.0
> Environment: SFDC connector tech preview, windows 2003 server, MMX 5.5
> Reporter: Michael Walker
> Assignee: John Doyle
> Fix For: 6.1.0
>
>
> The importer brings in table cardinality, but for even better query optimization, we should also bring in distinct value count, or provide an option to do so.
> This may be a larger one-time cost during import, but it's well worth it, and definitely is faster than doing it by hand for every column in every object in SFDC. It greatly impacts performance, especially for dependent join scenarios, since many SFDC columns/fields happen to have very low distinct value counts.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 7 months