cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

How to use multi character encodings in Delta Tables?

ShuImamura
New Contributor II

Can we mix different encodings in Delta tables? Downstream needs different character encodings like UTF-8 and Shift JIS.

1 ACCEPTED SOLUTION

Accepted Solutions

-werners-
Esteemed Contributor III

I don't think that it is possible.

Using an alternative encoding might be possible (you can for csv files, but for delta lake I did not find an option to do that).

But even with that hypothetical alternative encoding, I realyl doulbt mixing will work as the encoding is typically set for the whole file, not just a part of it.

โ€‹

View solution in original post

2 REPLIES 2

-werners-
Esteemed Contributor III

I don't think that it is possible.

Using an alternative encoding might be possible (you can for csv files, but for delta lake I did not find an option to do that).

But even with that hypothetical alternative encoding, I realyl doulbt mixing will work as the encoding is typically set for the whole file, not just a part of it.

โ€‹

ShuImamura
New Contributor II

@Werner Stinckensโ€‹ thanks for answering!

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