[JBoss JIRA] (TEIID-3215) External Materialization ON_VDB_START_SCRIPT invocation issues
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3215?page=com.atlassian.jira.plugin... ]
Steven Hawkins closed TEIID-3215.
---------------------------------
> External Materialization ON_VDB_START_SCRIPT invocation issues
> --------------------------------------------------------------
>
> Key: TEIID-3215
> URL: https://issues.jboss.org/browse/TEIID-3215
> Project: Teiid
> Issue Type: Bug
> Components: Server
> Affects Versions: 8.7
> Reporter: Jan Stastny
> Assignee: Ramesh Reddy
> Labels: Final
> Fix For: 8.7.1, 8.9
>
> Attachments: mat-views-vdb.xml
>
>
> With materialized view I have set teiid_rel:ON_VDB_START_SCRIPT property for the external matview table. (Simple query to increment a column in table to count invocations.)
> Invocation of the script is dependent upon the way the vdb is deployed. The first case (A) doesn't invoke the script, the second (B) does.
> A - 1. Copy the vdbname-vdb.xml into deployments folder
> 2. Start the server
> B - 1. Start the server
> 2. Copy the vdbname-vdb.xml into deployments folder
> That means that after server stop (maintenance) the script is not invoked on start, which can cause problems when the script is used to initialize running environment (clear table, create temporary table,...)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIID-3253) Expand allowed order by expressions
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3253?page=com.atlassian.jira.plugin... ]
Steven Hawkins closed TEIID-3253.
---------------------------------
> Expand allowed order by expressions
> -----------------------------------
>
> Key: TEIID-3253
> URL: https://issues.jboss.org/browse/TEIID-3253
> Project: Teiid
> Issue Type: Enhancement
> Components: Query Engine
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 8.10
>
>
> with a non-simple query we won't allow derived expressions in the order by such as:
> select max\(x), y from t group by y order by case when y is null then 0 else y end
> We treat this ordering as unrelated - however it is expressed in terms of expressions from the select clause. Mondrian will generate queries of this form, which requires a workaround of modifying the dialect to use ansi null ordering.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months
[JBoss JIRA] (TEIID-3282) inconsistencies with the week function
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3282?page=com.atlassian.jira.plugin... ]
Steven Hawkins closed TEIID-3282.
---------------------------------
> inconsistencies with the week function
> --------------------------------------
>
> Key: TEIID-3282
> URL: https://issues.jboss.org/browse/TEIID-3282
> Project: Teiid
> Issue Type: Sub-task
> Components: Query Engine
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Fix For: 8.10
>
>
> For consistency we could enforce a standard iso behavior for the week function by default.
> For mysql there is the weekofyear function that matches the iso behavior.
> hsql uses iso by default
> oracle should use iw, not ww
> However:
> h2 uses the locale (the current teiid behavior)
> sqlserver/sybase you can use SET DATEFIRST to move the first day of the week to monday, but the return values are still not fully iso.
> And there are still several others to verify
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years, 6 months