<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Apache Hudi Table creation using hudi maven library in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/apache-hudi-table-creation-using-hudi-maven-library/m-p/4329#M1078</link>
    <description>&lt;P&gt;@Roshan RC​&amp;nbsp;- can you please try with a mount location instead and let us know?&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 21:17:30 GMT</pubDate>
    <dc:creator>shan_chandra</dc:creator>
    <dc:date>2023-05-24T21:17:30Z</dc:date>
    <item>
      <title>Apache Hudi Table creation using hudi maven library</title>
      <link>https://community.databricks.com/t5/data-engineering/apache-hudi-table-creation-using-hudi-maven-library/m-p/4328#M1077</link>
      <description>&lt;P&gt;I installed hudi maven library org.apache.hudi:hudi-spark3.3-bundle_2.12:0.13.0 &lt;/P&gt;&lt;P&gt;in Dbricks Runtime Ver : 12.2 LTS (includes Apache Spark 3.3.2, Scala 2.12) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with spark config :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;spark.sql.catalog.spark_catalog org.apache.spark.sql.hudi.catalog.HoodieCatalog
&amp;nbsp;
spark.serializer org.apache.spark.serializer.KryoSerializer
&amp;nbsp;
spark.sql.extensions org.apache.spark.sql.hudi.HoodieSparkSessionExtension&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I ran this python cmd : &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;import org.apache.hudi.DataSourceReadOptions._
import org.apache.hudi.DataSourceWriteOptions._
import org.apache.hudi.config.HoodieWriteConfig._&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;which gave me error : &lt;/P&gt;&lt;P&gt;ModuleNotFoundError: No module named 'org.apache.hudi'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then i ran sql command in notebook :&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;create table hudi_cow_pt_tbl (
id bigint,
name string,
ts bigint,
dt string,
hh string
) using hudi
tblproperties (
type = 'cow',
primaryKey = 'id',
preCombineField = 'ts'
)
partitioned by (dt, hh)
location 's3://incred-databricks-data/hudi_dms_data/hudi_cow_pt_tbl';&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;which gives me error : &lt;/P&gt;&lt;P&gt;java.io.FileNotFoundException: No such file or directory: s3://incred-databricks-data/hudi_dms_data/hudi_cow_pt_tbl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where as this path exists : s3://incred-databricks-data/hudi_dms_data/&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 06:39:42 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/apache-hudi-table-creation-using-hudi-maven-library/m-p/4328#M1077</guid>
      <dc:creator>ros</dc:creator>
      <dc:date>2023-05-16T06:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Hudi Table creation using hudi maven library</title>
      <link>https://community.databricks.com/t5/data-engineering/apache-hudi-table-creation-using-hudi-maven-library/m-p/4329#M1078</link>
      <description>&lt;P&gt;@Roshan RC​&amp;nbsp;- can you please try with a mount location instead and let us know?&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 21:17:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/apache-hudi-table-creation-using-hudi-maven-library/m-p/4329#M1078</guid>
      <dc:creator>shan_chandra</dc:creator>
      <dc:date>2023-05-24T21:17:30Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Hudi Table creation using hudi maven library</title>
      <link>https://community.databricks.com/t5/data-engineering/apache-hudi-table-creation-using-hudi-maven-library/m-p/4330#M1079</link>
      <description>&lt;P&gt;@Shanmugavel Chandrakasu​&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;%sql
create table hudi_cow_pt_tbl (
id bigint,
name string,
ts bigint,
dt string,
hh string
) using hudi
tblproperties (
type = 'cow',
primaryKey = 'id',
preCombineField = 'ts'
)
partitioned by (dt, hh)
location '/mnt/data/hudi_dms_data/hudi_cow_pt_tbl';&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It still gave me error : &lt;/P&gt;&lt;P&gt;org.apache.hudi.exception.TableNotFoundException: Hoodie table not found in path Unable to find a hudi table for the user provided paths.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 07:51:14 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/apache-hudi-table-creation-using-hudi-maven-library/m-p/4330#M1079</guid>
      <dc:creator>ros</dc:creator>
      <dc:date>2023-05-31T07:51:14Z</dc:date>
    </item>
  </channel>
</rss>

