[JBoss JIRA] (TEIID-3077) SOLR: Type date should be converted into Timestamp
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-3077?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-3077:
---------------------------------------
Just to double check this is an issue with the dynamic vdb import, such that the date/pdate/tdate types should be mapped to timestamp?
> SOLR: Type date should be converted into Timestamp
> --------------------------------------------------
>
> Key: TEIID-3077
> URL: https://issues.jboss.org/browse/TEIID-3077
> Project: Teiid
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Misc. Connectors
> Affects Versions: 8.7
> Reporter: Filip Elias
> Assignee: Steven Hawkins
>
> SOLR translator converts solr's date type into java.sql.Date, but SOLR's date format is rather timestamp[1]. When the solr's date is converted into java.sql.Date, the information about hours,minutes and seconds will be lost.
> [1] "TimestampValue": "1999-12-31T23:00:00Z",
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (TEIID-3076) Add materialized view to data-federation quick start
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-3076?page=com.atlassian.jira.plugin... ]
Van Halbert resolved TEIID-3076.
--------------------------------
Resolution: Done
Committed changes to the 2.0 version of quick starts
> Add materialized view to data-federation quick start
> ----------------------------------------------------
>
> Key: TEIID-3076
> URL: https://issues.jboss.org/browse/TEIID-3076
> Project: Teiid
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Quick Starts
> Reporter: Van Halbert
> Assignee: Van Halbert
> Priority: Minor
>
> Adding the following materialized view to the portfolio VDB to materialized the stocks view to TTL of 2 minutes:
> CREATE view stockPricesMatView
> (
> product_id integer,
> symbol string,
> price bigdecimal,
> company_name varchar(256)
> ) OPTIONS (MATERIALIZED 'TRUE', UPDATABLE 'TRUE',
> MATERIALIZED_TABLE 'Accounts.h2_stock_mat',
> "teiid_rel:MATVIEW_TTL" 120000,
> "teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT" 'execute accounts.native(''truncate table h2_stock_mat'');',
> "teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT" 'execute accounts.native('''')',
> "teiid_rel:ON_VDB_DROP_SCRIPT" 'DELETE FROM Accounts.status WHERE Name=''stock'' AND schemaname = ''Stocks''',
> "teiid_rel:MATERIALIZED_STAGE_TABLE" 'Accounts.h2_stock_mat',
> "teiid_rel:ALLOW_MATVIEW_MANAGEMENT" 'true',
> "teiid_rel:MATVIEW_STATUS_TABLE" 'status',
> "teiid_rel:MATVIEW_SHARE_SCOPE" 'NONE',
> "teiid_rel:MATVIEW_ONERROR_ACTION" 'THROW_EXCEPTION')
> AS SELECT A.ID, S.symbol, S.price, A.COMPANY_NAME
> FROM Stocks.StockPrices AS S, Accounts.PRODUCT AS A
> WHERE S.symbol = A.SYMBOL;
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (TEIID-3076) Add materialized view to data-federation quick start
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-3076?page=com.atlassian.jira.plugin... ]
Van Halbert updated TEIID-3076:
-------------------------------
Git Pull Request: https://github.com/teiid/teiid-quickstarts/pull/63
> Add materialized view to data-federation quick start
> ----------------------------------------------------
>
> Key: TEIID-3076
> URL: https://issues.jboss.org/browse/TEIID-3076
> Project: Teiid
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Quick Starts
> Reporter: Van Halbert
> Assignee: Van Halbert
> Priority: Minor
>
> Adding the following materialized view to the portfolio VDB to materialized the stocks view to TTL of 2 minutes:
> CREATE view stockPricesMatView
> (
> product_id integer,
> symbol string,
> price bigdecimal,
> company_name varchar(256)
> ) OPTIONS (MATERIALIZED 'TRUE', UPDATABLE 'TRUE',
> MATERIALIZED_TABLE 'Accounts.h2_stock_mat',
> "teiid_rel:MATVIEW_TTL" 120000,
> "teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT" 'execute accounts.native(''truncate table h2_stock_mat'');',
> "teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT" 'execute accounts.native('''')',
> "teiid_rel:ON_VDB_DROP_SCRIPT" 'DELETE FROM Accounts.status WHERE Name=''stock'' AND schemaname = ''Stocks''',
> "teiid_rel:MATERIALIZED_STAGE_TABLE" 'Accounts.h2_stock_mat',
> "teiid_rel:ALLOW_MATVIEW_MANAGEMENT" 'true',
> "teiid_rel:MATVIEW_STATUS_TABLE" 'status',
> "teiid_rel:MATVIEW_SHARE_SCOPE" 'NONE',
> "teiid_rel:MATVIEW_ONERROR_ACTION" 'THROW_EXCEPTION')
> AS SELECT A.ID, S.symbol, S.price, A.COMPANY_NAME
> FROM Stocks.StockPrices AS S, Accounts.PRODUCT AS A
> WHERE S.symbol = A.SYMBOL;
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (TEIID-3076) Add materialized view to data-federation quick start
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-3076?page=com.atlassian.jira.plugin... ]
Work on TEIID-3076 stopped by Van Halbert.
> Add materialized view to data-federation quick start
> ----------------------------------------------------
>
> Key: TEIID-3076
> URL: https://issues.jboss.org/browse/TEIID-3076
> Project: Teiid
> Issue Type: Enhancement
> Security Level: Public(Everyone can see)
> Components: Quick Starts
> Reporter: Van Halbert
> Assignee: Van Halbert
> Priority: Minor
>
> Adding the following materialized view to the portfolio VDB to materialized the stocks view to TTL of 2 minutes:
> CREATE view stockPricesMatView
> (
> product_id integer,
> symbol string,
> price bigdecimal,
> company_name varchar(256)
> ) OPTIONS (MATERIALIZED 'TRUE', UPDATABLE 'TRUE',
> MATERIALIZED_TABLE 'Accounts.h2_stock_mat',
> "teiid_rel:MATVIEW_TTL" 120000,
> "teiid_rel:MATVIEW_BEFORE_LOAD_SCRIPT" 'execute accounts.native(''truncate table h2_stock_mat'');',
> "teiid_rel:MATVIEW_AFTER_LOAD_SCRIPT" 'execute accounts.native('''')',
> "teiid_rel:ON_VDB_DROP_SCRIPT" 'DELETE FROM Accounts.status WHERE Name=''stock'' AND schemaname = ''Stocks''',
> "teiid_rel:MATERIALIZED_STAGE_TABLE" 'Accounts.h2_stock_mat',
> "teiid_rel:ALLOW_MATVIEW_MANAGEMENT" 'true',
> "teiid_rel:MATVIEW_STATUS_TABLE" 'status',
> "teiid_rel:MATVIEW_SHARE_SCOPE" 'NONE',
> "teiid_rel:MATVIEW_ONERROR_ACTION" 'THROW_EXCEPTION')
> AS SELECT A.ID, S.symbol, S.price, A.COMPANY_NAME
> FROM Stocks.StockPrices AS S, Accounts.PRODUCT AS A
> WHERE S.symbol = A.SYMBOL;
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months