<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>评论：canal 同步mysql数据到clickhouse 支持update delete truncate</title>
	<atom:link href="http://blog.51yip.com/clickhouse/2537.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.51yip.com/clickhouse/2537.html</link>
	<description>－－一步，二步，三步，N步，二行脚印</description>
	<lastBuildDate>Tue, 07 Jun 2022 01:26:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>来自：Michael</title>
		<link>http://blog.51yip.com/clickhouse/2537.html/comment-page-1#comment-18766</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Sun, 02 Jan 2022 05:37:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.51yip.com/?p=2537#comment-18766</guid>
		<description>非常感谢您的这篇文章！写的非常详细，解决了我在使用 canal 中遇到的很多问题。
还有一点拙见：truncate 应该是 DDL 而非 DML，这个应该不用改动。
以及 RdbtEtlService 中的 110 行：
&quot;DELETE FROM &quot; + SyncUtil.getDbTableName(dbMapping) + &quot; WHERE &quot;);
是否也应改成 clickhouse 的 alter table ... delete where 语法为好？
再次感谢您的文章！</description>
		<content:encoded><![CDATA[<p>非常感谢您的这篇文章！写的非常详细，解决了我在使用 canal 中遇到的很多问题。<br />
还有一点拙见：truncate 应该是 DDL 而非 DML，这个应该不用改动。<br />
以及 RdbtEtlService 中的 110 行：<br />
"DELETE FROM " + SyncUtil.getDbTableName(dbMapping) + " WHERE ");<br />
是否也应改成 clickhouse 的 alter table ... delete where 语法为好？<br />
再次感谢您的文章！</p>
]]></content:encoded>
	</item>
</channel>
</rss>
