#1 2008-09-12 23:24:46

Jessica_girl
New member
Registered: 2008-09-04
Posts: 8

I have a problem

hello guys
I have a table let us say A and a table let us say B. I want to map table A to table B. A->B
Bu the problem is that: Table A has too many rows and what i want is that i want to break the table A into smaller pieces.
For example, i want to map first 100.000 rows of A to B, then second 100.000 of A to B and go on...
***** CONSEQUENTLY, I HAVE TO ITERATE OVER TABLE A and UPDATE THE QUERY OF THE TABLE A *****
is there any experienced guy that can explain to me what i should do for this IN DETAIL? i am a beginner sad(

i want only the solutions to my problem, expressed between ***** and **** 's.

Offline

#2 2008-09-13 00:24:13

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

Re: I have a problem

1. thank you for using tags

2. read the link that plegall sent you in your last topic ([Forum, topic 4103] Jessica BEGS FOR YOUR HELP :().
specifically these sections:

Use a descriptive thread title.
We ask you to follow these simple guidelines.
Be sure to include a brief description of your issue or question in the title of your thread. This will help other users understand what you need and avoid clicking on threads in which they have no interest.
Examples of unacceptable thread titles:
   "Help!"
   "Problem"
   "What Should I Do?"
Examples of acceptable thread titles:
   "Execute shell script"
   "Contexts & Email Attachments"
   "As400 connection problem"

Don't write IN ALL CAPITALS BECAUSE IT MAKES IT VERY DIFFICULT TO READ AND APPEARS LIKE YOU ARE SHOUTING. It is proven that proper case English is easier to read because it flows easier. All capitals is also proven to invoke a negative feeling towards the poster.

Be polite
The support given on the forums is for free (except for the well paid guys at Talend, of course) so please be polite. Although your particular problem may be important to you, it will most definitely NOT be important to the majority of forum readers. Therefore, be gracious and request help in a polite manner. It's not that we expect anyone to crawl or plead, but your tone is more likely to appeal to those who would lend a helping hand.

and remember

You don't need to make obvious you're a girl, young and under pressure from your boss to get helped from Talend community :-) By the way, not only guys can help you.

and try using a tMap, with multiple output tables.  you'll have to drag your columns over in the groups you want to each output table, but then it will be set up.

Last edited by strpdsnk (2008-09-13 00:36:12)

Offline

#3 2008-09-13 12:23:46

Jessica_girl
New member
Registered: 2008-09-04
Posts: 8

Re: I have a problem

oh my god here are all beginners. when i post a topic, always are the answers like this: "Clarify your problem etc."
I wont use talend anymore. Talend open studio is an useless program!!!

Offline

#4 2008-09-13 18:44:54

plegall
Member
Registered: 2006-09-19
Posts: 1586
Website

Re: I have a problem

Jessica_girl wrote:

oh my god here are all beginners. when i post a topic, always are the answers like this: "Clarify your problem etc."

It's perfectly OK to be a beginner concerning Talend softwares but it doesn't mean you can also be a beginner in communication. Introducing your problem with clarity encourages community members to help you (but saying you're a 23 years old girl doesn't).

Jessica_girl wrote:

I wont use talend anymore. Talend open studio is an useless program!!!

It's not because you don't use it that's it's useless. Coming on the project community forum and saying such words won't encourage the community to help you.

Offline

#5 2008-09-13 19:02:48

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

Re: I have a problem

Jessica_girl wrote:

oh my god here are all beginners. when i post a topic, always are the answers like this: "Clarify your problem etc."

i gave you an answer:

strpdsnk wrote:

and try using a tMap, with multiple output tables.  you'll have to drag your columns over in the groups you want to each output table, but then it will be set up.

all we're asking is that you abide by the forum rules, which in the long run will do you more good.  it doesnt take that long to write a short sentence summarizing your problem to put into the subject.

just because you don't know how to use the program effectively yet doesnt mean its useless

and, btw, we ask you to clarify your problem so we can help you.  what seems obvious to you may not be to someone else who isn't sitting there looking at your computer screen.

Last edited by strpdsnk (2008-09-13 20:01:58)

Offline

#6 2008-09-13 20:03:06

strpdsnk
Member
Registered: 2008-03-25
Posts: 328

Re: I have a problem

and the only way i can figure out to get the list of columns in groups by # is this (at least in MSSql), but i don't see how that will help you with your problem... unless you first did a query to get the columns and then concatenated all the column names (from the query below) together and put that into a following DB component... lemme see if i can make that work

Code:

select t.name, c.name, c.column_id
from sys.tables T
left join sys.columns C on t.object_id = c.object_id
--where t.name = 'tblTask'
order by t.object_id, c.column_id

yea, you can pull the list of columns that way and use them in a query, but then you're going to run into issues with set up schema.

i would say do a query on your whole table, connect it to a tMap and split your columns up into different output chunks that way


Uploaded Images

Last edited by strpdsnk (2008-09-13 20:15:50)

Offline

Board footer

Powered by FluxBB