<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>update-mode in sqoop - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/update-mode-in-sqoop/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/update-mode-in-sqoop/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Wed, 08 Sep 2021 09:36:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>update-mode in sqoop - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/update-mode-in-sqoop/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What is update command in sqoop ?</title>
		<link>https://www.wikitechy.com/interview-questions/sqoop/what-is-update-command-in-sqoop/</link>
					<comments>https://www.wikitechy.com/interview-questions/sqoop/what-is-update-command-in-sqoop/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Thu, 22 Jul 2021 06:52:07 +0000</pubDate>
				<category><![CDATA[Sqoop]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Altimetrik India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Amazon Development Centre India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Ciber Global Solutions interview questions and answers]]></category>
		<category><![CDATA[Datamatics Global Services Ltd interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[how will you update the rows that are already exported in sqoop]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indiabulls Technology Solutions Ltd interview questions and answers]]></category>
		<category><![CDATA[Iris Software interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Maxima IT Consulting India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Morningstar interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Prokarma Softech Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Quintiles interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[Sapient Consulting Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[sqoop difficult interview questions]]></category>
		<category><![CDATA[sqoop export command]]></category>
		<category><![CDATA[sqoop export update-key example]]></category>
		<category><![CDATA[sqoop import update]]></category>
		<category><![CDATA[sqoop scenario based interview questions]]></category>
		<category><![CDATA[sqoop scenario based questions]]></category>
		<category><![CDATA[sqoop update mode]]></category>
		<category><![CDATA[sqoop upsert]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Trigent Software interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[update-mode allow insert]]></category>
		<category><![CDATA[update-mode in sqoop]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=1200</guid>

					<description><![CDATA[Answer : There are two approaches to update in sqoop...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="update-command-in-sqoop" class="color-purple">Update command in sqoop:</h2>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="Content">
<div class="hddn">
<ul>
<li>There are two approaches to update in sqoop.
<ul>
<li>The records inserted are to be added to the target table.</li>
<li>The sqoop provides an update mode by providing “update-key &lt;column(s)&gt;” command.</li>
</ul>
</li>
<li>This command is used to generate the SQl update statement.</li>
<li>If the value in column 1 matches the data is updated else the data is inserted into the table.</li>
<li>This technique is also refered to as upsert where the default action is update but insertion takes place when matching data is not available.</li>
</ul>
</div>
</div>
<div class="CodeContent">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markdown code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markdown code-embed-code">$ sqoop export (Generic Arguments)<br/>  --table target-relational-table <br/>  --update-key column1<br/>  --export-dir /user/my-hdfs-file<br/>  ...<br/>Generates =&gt; UPDATE target-relational-table SET<br/>                    column2=1000,column3=2000<br/>		          WHERE column1=100;</code></pre> </div></figure>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/sqoop/what-is-update-command-in-sqoop/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
