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:ย 

base64 encode is not matching with Oracle's base64 encode

Dinu2
New Contributor III

Hi , base64 encode is not matching with Oracle's base64 encode. please see below result. Could anyone help me on this?

In Azure Databricks: encoded= base64.b64encode(b'952B8D04E5CFB9BE')

output is - b'OTUyQjhEMDRFNUNGQjlCRQ=='

In Oracle: select utl_encode.base64_encode('952B8D04E5CFB9BE') from dual;

output is - 6C53754E424F58507562343D

1 REPLY 1

daniel_sahal
Esteemed Contributor

Oracle handles base64 encoding a little bit differently.

Please check this link to understand what's the difference:

https://dba.stackexchange.com/a/129134

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