[JBoss JIRA] (TEIID-5821) Allow insert expressions that can be pushed to be pushed
by Steven Hawkins (Jira)
Steven Hawkins created TEIID-5821:
-------------------------------------
Summary: Allow insert expressions that can be pushed to be pushed
Key: TEIID-5821
URL: https://issues.jboss.org/browse/TEIID-5821
Project: Teiid
Issue Type: Enhancement
Components: Query Engine
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 13.0, 12.3.1
Insert expressions are always being pre-evaluated. For example with:
create foreign table t (col object) options (updatable true);
create foreign function foo (param string) returns object;
Executing:
insert into t (col) values (foo('1'))
will be split into two source executions - one to evaluate the function and another to perform the insert.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months
[JBoss JIRA] (TEIIDSB-121) cpu utilization on 100% when generate openapi doc by metadata
by Renat Eskenin (Jira)
[ https://issues.jboss.org/browse/TEIIDSB-121?page=com.atlassian.jira.plugi... ]
Renat Eskenin edited comment on TEIIDSB-121 at 10/2/19 8:03 AM:
----------------------------------------------------------------
Ok, i have additionnal data. We have simple odata4 facade for jdbc connection (with using teiid spring-odata and teiid-spring-boot-starter).
1. Metadata size is 650kb in xml odata Edm format
2. 40 tables
3. ~100 columns in table (max)
4. 1 core in k8s cluster node and 1G memory
And i can't get swagger.json at all. Only CPU utilization 100%.
And
if i start service locally (32G RAM, 4 core i5) then i get CPU 100% and not have swagger.json at all.
P.S. in stateless micro-service architecture we do not have persistence layer (FS).
was (Author: i3draven):
Ok, i have additionnal data. We have simple odata4 facade for jdbc connection (with using teiid spring-odata and teiid-spring-boot-starter).
1. Metadata size is 650kb in xml odata Edm format
2. 40 tables
3. ~100 columns in table (max)
4. 1 core in k8s cluster node and 1G memory
And i can't get swagger.json at all. Only CPU utilization 100%.
> cpu utilization on 100% when generate openapi doc by metadata
> -------------------------------------------------------------
>
> Key: TEIIDSB-121
> URL: https://issues.jboss.org/browse/TEIIDSB-121
> Project: Teiid Spring Boot
> Issue Type: Bug
> Components: datasource, OData
> Affects Versions: 1.2.0
> Reporter: Renat Eskenin
> Priority: Major
>
> When i get request as
> http://localhost:8080/odata/swagger.json or http://localhost:8080/odata/datasource/Account/swagger.json or http://localhost:8080/odata/datasource/swagger.json
> cpu utilization 100% and i do not get any response.
> We have 2 bad approach:
> 1. In org.teiid.olingo.web.OpenApiHandler:151 teiid create tmp file in filesystem.
> Its bad because in Docker k8s systems applications can't create any files in FS.
> 2. In org.apache.xalan.transformer.TransformerImpl:709 we get system freeze (CPU utilization 100% infinite)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months
[JBoss JIRA] (TEIIDSB-121) cpu utilization on 100% when generate openapi doc by metadata
by Renat Eskenin (Jira)
[ https://issues.jboss.org/browse/TEIIDSB-121?page=com.atlassian.jira.plugi... ]
Renat Eskenin edited comment on TEIIDSB-121 at 10/2/19 7:59 AM:
----------------------------------------------------------------
Ok, i have additionnal data. We have simple odata4 facade for jdbc connection (with using teiid spring-odata and teiid-spring-boot-starter).
1. Metadata size is 650kb in xml odata Edm format
2. 40 tables
3. ~100 columns in table (max)
4. 1 core in k8s cluster node and 1G memory
And i can't get swagger.json at all. Only CPU utilization 100%.
was (Author: i3draven):
Ok, i have additionnal data. We have simple odata4 facade for jdbc connection (with using teiid spring-odata and teiid-spring-boot-starter).
1. Metadata size is 650kb in xml odata Edm format
2. 40 tables
3. ~100 columns in table (max)
4. 1 core in k8s claster node and 1G memory
And i can't get swagger.json at all. Only CPU utilization 100%.
> cpu utilization on 100% when generate openapi doc by metadata
> -------------------------------------------------------------
>
> Key: TEIIDSB-121
> URL: https://issues.jboss.org/browse/TEIIDSB-121
> Project: Teiid Spring Boot
> Issue Type: Bug
> Components: datasource, OData
> Affects Versions: 1.2.0
> Reporter: Renat Eskenin
> Priority: Major
>
> When i get request as
> http://localhost:8080/odata/swagger.json or http://localhost:8080/odata/datasource/Account/swagger.json or http://localhost:8080/odata/datasource/swagger.json
> cpu utilization 100% and i do not get any response.
> We have 2 bad approach:
> 1. In org.teiid.olingo.web.OpenApiHandler:151 teiid create tmp file in filesystem.
> Its bad because in Docker k8s systems applications can't create any files in FS.
> 2. In org.apache.xalan.transformer.TransformerImpl:709 we get system freeze (CPU utilization 100% infinite)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months
[JBoss JIRA] (TEIIDSB-121) cpu utilization on 100% when generate openapi doc by metadata
by Renat Eskenin (Jira)
[ https://issues.jboss.org/browse/TEIIDSB-121?page=com.atlassian.jira.plugi... ]
Renat Eskenin edited comment on TEIIDSB-121 at 10/2/19 7:59 AM:
----------------------------------------------------------------
Ok, i have additionnal data. We have simple odata4 facade for jdbc connection (with using teiid spring-odata and teiid-spring-boot-starter).
1. Metadata size is 650kb in xml odata Edm format
2. 40 tables
3. ~100 columns in table (max)
4. 1 core in k8s claster node and 1G memory
And i can't get swagger.json at all. Only CPU utilization 100%.
was (Author: i3draven):
Ok, i have additionnal data. We have simple odata4 facade for jdbc connection (with using teiid spring-odata and teiid-spring-boot-starter).
1. Metadata size is 650kb in xml odata Edm format
2. 40 tables
3. ~100 columns in table (max)
And i can't get swagger.json at all. Only CPU utilization 100%.
> cpu utilization on 100% when generate openapi doc by metadata
> -------------------------------------------------------------
>
> Key: TEIIDSB-121
> URL: https://issues.jboss.org/browse/TEIIDSB-121
> Project: Teiid Spring Boot
> Issue Type: Bug
> Components: datasource, OData
> Affects Versions: 1.2.0
> Reporter: Renat Eskenin
> Priority: Major
>
> When i get request as
> http://localhost:8080/odata/swagger.json or http://localhost:8080/odata/datasource/Account/swagger.json or http://localhost:8080/odata/datasource/swagger.json
> cpu utilization 100% and i do not get any response.
> We have 2 bad approach:
> 1. In org.teiid.olingo.web.OpenApiHandler:151 teiid create tmp file in filesystem.
> Its bad because in Docker k8s systems applications can't create any files in FS.
> 2. In org.apache.xalan.transformer.TransformerImpl:709 we get system freeze (CPU utilization 100% infinite)
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
5 years, 12 months