cancel
Showing results for 
Search instead for 
Did you mean: 
Community Platform Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Translating XMLNAMESPACE in SQL Databricks

TinaN
New Contributor III

We are loading a data source that contains XML. I am translating their queries to create views in Databricks. They use 'XMLNAMESPACES' to construct/parse XML.  Below is an example.  What is best practice for translating 'XMLNAMESPACES' in Databricks?  

CREATE OR REPLACE VIEW source_vw 
AS WITH XMLNAMESPACES('uuid:ee2fbfd9-47a5-4dc8-a9eb-42d9995802ab' as REM)
SELECT...

 

1 ACCEPTED SOLUTION

Accepted Solutions

TinaN
New Contributor III

Hello Kaniz_Fatma,

Thanks for the quick response. We are experimenting with from_xml to parse the data.  I appreciate your input.

Best,

Tina

View solution in original post

1 REPLY 1

TinaN
New Contributor III

Hello Kaniz_Fatma,

Thanks for the quick response. We are experimenting with from_xml to parse the data.  I appreciate your input.

Best,

Tina

Connect with Databricks Users in Your Area

Join a Regional User Group to connect with local Databricks users. Events will be happening in your city, and you won’t want to miss the chance to attend and share knowledge.

If there isn’t a group near you, start one and help create a community that brings people together.

Request a New Group