[JBoss JIRA] (TEIID-2729) Dynamic VDB xml requires sibling elements to be in a certain order
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2729?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-2729:
-------------------------------------
I do not care much about the placement of elements if there is a way we can do that, my concern is developer mistakenly sets something wrong, and spends hours to debug, I would rather be strict than try to interpret what those wrong attributes mean.
> Dynamic VDB xml requires sibling elements to be in a certain order
> ------------------------------------------------------------------
>
> Key: TEIID-2729
> URL: https://issues.jboss.org/browse/TEIID-2729
> Project: Teiid
> Issue Type: Enhancement
> Components: AdminApi
> Affects Versions: 8.5
> Reporter: Mark Drilling
> Assignee: Steven Hawkins
> Fix For: 8.7
>
>
> In my *-vdb.xml, I have a model defined per following snippet:
> <model name="myModel" type="PHYSICAL" visible="true">
> <source name="myModel" translator-name="hive" connection-jndi-name="Hive12Src" />
> <property name="trimColumnNames" value="true" />
> </model>
> The vdb.xml failed to parse, so I moved the <property> element ahead of <source> and then it worked.
> I don't think element ordering should matter in this case?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIID-2729) Dynamic VDB xml requires sibling elements to be in a certain order
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2729?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-2729:
---------------------------------------
Warnings don't really make sense unless we are going to enforce the existing schema again at some point. If we remain flexible or relax the schema, then the warnings would just be clutter.
Also how strict do we want to be? Should we also reject incorrect attributes?
> Dynamic VDB xml requires sibling elements to be in a certain order
> ------------------------------------------------------------------
>
> Key: TEIID-2729
> URL: https://issues.jboss.org/browse/TEIID-2729
> Project: Teiid
> Issue Type: Enhancement
> Components: AdminApi
> Affects Versions: 8.5
> Reporter: Mark Drilling
> Assignee: Steven Hawkins
> Fix For: 8.7
>
>
> In my *-vdb.xml, I have a model defined per following snippet:
> <model name="myModel" type="PHYSICAL" visible="true">
> <source name="myModel" translator-name="hive" connection-jndi-name="Hive12Src" />
> <property name="trimColumnNames" value="true" />
> </model>
> The vdb.xml failed to parse, so I moved the <property> element ahead of <source> and then it worked.
> I don't think element ordering should matter in this case?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIID-3564) float field gets converted to scientific notation when query is submitted to source
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3564?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-3564.
-----------------------------------
Fix Version/s: 8.12
8.11.5
Resolution: Done
Updated the salesforce logic and adding handling for BigDecimal in JDBC as well.
> float field gets converted to scientific notation when query is submitted to source
> -----------------------------------------------------------------------------------
>
> Key: TEIID-3564
> URL: https://issues.jboss.org/browse/TEIID-3564
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 8.7.1
> Environment: RHEL 6, AWS Virtual Machine, salesforce.com soap api 23.0,JBoss EAP (standalone) 6.3.2.GA
> JBoss Data Virtualization 6.1.0.ER4
> Reporter: Jorge Herrera
> Assignee: Steven Hawkins
> Fix For: 8.12, 8.11.5
>
>
> When submitting the following query:
> SELECT COUNT(*) FROM salesforce_sales.salesforce.Opportunity where amount > 100000000;
> to a salesforce instance with the shown filter it returns the following error:
> org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidProcessingException: TEIID30504 SalesForce_Sales: com.sforce.soap.partner.MalformedQueryFault: MALFORMED_QUERY:
> Opportunity WHERE Opportunity.Amount > 1.0E8
> ^
> ERROR at Row:1:Column:64
> unexpected token: 'E8'
> Elapsed Time: 0 hr, 0 min, 1 sec, 109 ms.
> why is the quantity modified when the field is declared as float?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIID-3564) float field gets converted to scientific notation when query is submitted to source
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3564?page=com.atlassian.jira.plugin... ]
Steven Hawkins updated TEIID-3564:
----------------------------------
Security: (was: Red Hat Internal)
> float field gets converted to scientific notation when query is submitted to source
> -----------------------------------------------------------------------------------
>
> Key: TEIID-3564
> URL: https://issues.jboss.org/browse/TEIID-3564
> Project: Teiid
> Issue Type: Bug
> Components: Query Engine
> Affects Versions: 8.7.1
> Environment: RHEL 6, AWS Virtual Machine, salesforce.com soap api 23.0,JBoss EAP (standalone) 6.3.2.GA
> JBoss Data Virtualization 6.1.0.ER4
> Reporter: Jorge Herrera
> Assignee: Steven Hawkins
>
> When submitting the following query:
> SELECT COUNT(*) FROM salesforce_sales.salesforce.Opportunity where amount > 100000000;
> to a salesforce instance with the shown filter it returns the following error:
> org.teiid.runtime.client.TeiidClientException: java.lang.RuntimeException: Remote org.teiid.core.TeiidProcessingException: TEIID30504 SalesForce_Sales: com.sforce.soap.partner.MalformedQueryFault: MALFORMED_QUERY:
> Opportunity WHERE Opportunity.Amount > 1.0E8
> ^
> ERROR at Row:1:Column:64
> unexpected token: 'E8'
> Elapsed Time: 0 hr, 0 min, 1 sec, 109 ms.
> why is the quantity modified when the field is declared as float?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIID-2973) OData 4 support with Olingo
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2973?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-2973:
-------------------------------------
>From above list 5, 11, 13 now should be supported. I have written the XML serialization for Olingo framework to be included in 4.0.
> OData 4 support with Olingo
> ---------------------------
>
> Key: TEIID-2973
> URL: https://issues.jboss.org/browse/TEIID-2973
> Project: Teiid
> Issue Type: Task
> Components: Misc. Connectors, OData
> Reporter: Steven Hawkins
> Assignee: Ramesh Reddy
> Labels: CR1
> Fix For: 8.11
>
>
> Whenever an olingo final is available for odata 3/4 we'll want to utilize that. The best guess now is that this will happen in the 8.9 timeframe. Additional support can then be added for later odata features, which will have subtasks as necessary.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIID-2729) Dynamic VDB xml requires sibling elements to be in a certain order
by Ramesh Reddy (JIRA)
[ https://issues.jboss.org/browse/TEIID-2729?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIID-2729:
-------------------------------------
Validate but may be post as warnings, and let the deployment fail if vdb xml is in fact wrong?
> Dynamic VDB xml requires sibling elements to be in a certain order
> ------------------------------------------------------------------
>
> Key: TEIID-2729
> URL: https://issues.jboss.org/browse/TEIID-2729
> Project: Teiid
> Issue Type: Enhancement
> Components: AdminApi
> Affects Versions: 8.5
> Reporter: Mark Drilling
> Assignee: Steven Hawkins
> Fix For: 8.7
>
>
> In my *-vdb.xml, I have a model defined per following snippet:
> <model name="myModel" type="PHYSICAL" visible="true">
> <source name="myModel" translator-name="hive" connection-jndi-name="Hive12Src" />
> <property name="trimColumnNames" value="true" />
> </model>
> The vdb.xml failed to parse, so I moved the <property> element ahead of <source> and then it worked.
> I don't think element ordering should matter in this case?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIID-2729) Dynamic VDB xml requires sibling elements to be in a certain order
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2729?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-2729:
---------------------------------------
Filip was asking about this as well. One possibility is that we simply not validate during deployment and simply have the xsd as a tooling reference.
> Dynamic VDB xml requires sibling elements to be in a certain order
> ------------------------------------------------------------------
>
> Key: TEIID-2729
> URL: https://issues.jboss.org/browse/TEIID-2729
> Project: Teiid
> Issue Type: Enhancement
> Components: AdminApi
> Affects Versions: 8.5
> Reporter: Mark Drilling
> Assignee: Steven Hawkins
> Fix For: 8.7
>
>
> In my *-vdb.xml, I have a model defined per following snippet:
> <model name="myModel" type="PHYSICAL" visible="true">
> <source name="myModel" translator-name="hive" connection-jndi-name="Hive12Src" />
> <property name="trimColumnNames" value="true" />
> </model>
> The vdb.xml failed to parse, so I moved the <property> element ahead of <source> and then it worked.
> I don't think element ordering should matter in this case?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months