Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Ashok200792
Contributor
Contributor

When we use the tMap function is allowed 100 rows at the time?

When we use the tmap Function is allowed 100 rows in the one CSV file upload the data in the MySQL database on the particular table, when we use that table of one column is (int "Auto increment") column. How to solve this insert data in database, i have attached the sample screen shot.0683p000009LroV.png

We need to insert the All records into the database. 

Labels (4)
15 Replies
TRF
Champion II
Champion II

Hi,

 

You probably have a join or a filter in the tMap.

That could be the reason why you have less rows on the output side than on the input side.

Ashok200792
Contributor
Contributor
Author

Yeah we use the JOIN in tmap, i attached the Screen flow but we create in the database in that particular table we use "Auto increment " in on column, only 100 rows inserted into that table.

0683p000009Lrpq.png

 

Can you guide me the further process,

 

In Database , we use the one column structure

 

| salesorderid | int(11) | NO | PRI | NULL | auto_increment |

 

 

 

TRF
Champion II
Champion II

As you can see from your 1st image, only 100 rows come out from the tMap which means 45 rows don't match with the join condition.

In this case, these rows are rejected and only 100 are pushed to the database.

Ashok200792
Contributor
Contributor
Author

Its maybe after get 100 rows its auto commit , then after 45 rows is reject when check the database .

 

But we used commit after the "OnComponentOk" only .

TRF
Champion II
Champion II

Once again, you have only 100 rows on the tMap output flow which means 45 rows are rejected by the inner join in your tMap.

No other reason to look after.

Ashok200792
Contributor
Contributor
Author

Yes i accept that , but first time we need insert the all records 145 rows in database,and lookup i check the every row record in the database table . Now no data in that particular table so we insert the all data ,but after every 100 rows data is rejected . why reject after 100 Rows data ,i don't understand that flow ??

 

I check the another data file also same thing happen.

0683p000009LrgX.png

 

 

First time only we insert the all data . can you guide me why correctly 100 rows only accept and other data is reject .

 

we checked only database in lookup . can you guide me 

TRF
Champion II
Champion II

What's the content of the temp_salesorder_list table?

What's the content of the OD_FILE file?

What's the configuration of the tMap?

Ashok200792
Contributor
Contributor
Author

Content of the temp_salesorder_list table:

 

QUERY :

 

"SELECT distinct(salesorderNo) FROM temp_salesorder_list where salesorderNo='"+((String)globalMap.get("OrderNumber"))+"' and fileName ='"+((String)globalMap.get("FileName"))+"'"

 

content of the OD_FILE file:

 

SAMPLE DATA:

 

1115|In - INDIA|0000001115|5100408707|20171021|124540|ZOR1|1000|02|0006490025|TEST NAME|SP 7/1476, OUYH|PLCADE|691581|11|INDIA|1115|606|TS41|INDIA|010001|Interior|0100010172|GOLD|000000017210101000|10 L WHITE|10.000|1.000|1975.00

 

 

5100408707 - salesorderNo


configuration of the tMap :

0683p000009Lrg7.png

 

below 100 row data is insert successfully,0683p000009LrPF.png

 

 

 

 

 

Anonymous
Not applicable

Hi can you try to unckeck this box (highlighted with yellow) in advanced setting please.


SGV

 

0683p000009Lrhx.png