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 do i retrieve timestamp data from history in databricks sql not using DELTA table,its data is coming from SAP

amruth
New Contributor

I am not using delta tables my data is from SAP ..how do i retrieve timestamp(history) dynamically from SAP table using databricks SQL

5 REPLIES 5

-werners-
Esteemed Contributor III

This depends on what database SAP is running.

First of all databricks SQL needs to have access to the SAP database (HANA, Oracle, DB2, ...)

To query changes to these tables, table logging has to be enabled OR you need to have access to the rollback log (or transaction log or ...).

Chances are small that you are allowed to run such a query.

But perhaps you mean something else with timestamp data?

Anonymous
Not applicable

Hi @amruth Dโ€‹ 

Hope all is well! Just wanted to check in if you were able to resolve your issue and would you be happy to share the solution or mark an answer as best? Else please let us know if you need more help. 

We'd love to hear from you.

Thanks!

mandeep
New Contributor II

Totally! Your questions are great and show a real desire to learn. It is inspiring to see someone actively searching for information and participating in lively discussions.

SAP Course in Pune

Dribka
New Contributor III

@amruth If you're working with data from SAP in Databricks and want to retrieve timestamps dynamically from a SAP table, you can utilize Databricks SQL to achieve this. You'll need to identify the specific SAP table that contains the timestamp or historical data. Once you've identified the table, you can construct a SQL query in Databricks that includes the appropriate columns and conditions to retrieve the timestamp dynamically. Consider using the SELECT statement to fetch the relevant timestamp column and apply any necessary filters based on your requirements. It's crucial to understand the structure of your SAP table and the naming conventions used for timestamp columns. If there's a specific column indicating historical data, you can use it in your query to retrieve timestamps dynamically. Ensure your Databricks environment is properly configured to connect to your SAP data source, and test your SQL query iteratively to ensure accurate results.

felixdmeshio
Visitor

Hello,

If youโ€™re trying to bring timestamp data or any other SAP Table from SAP (SAP HANA) into Databricks, our SAP HANA to Databricks Connector can help streamline this process. The connector enables you to extract data directly from SAP HANA tables and load it iteratively into Databricks for further processing.

The key benefits are:

  1. Incremental Data Transfer: Particularly helpful for managing very large datasets.
  2. Simple Usage: No complex configurations required.

With the connector, integrating your timestamped data should work seamlessly.

For more details, including implementation steps, please refer to our official documentation. If you need further support, donโ€™t hesitate to contact us at info@dmesh.io.

I hope this helps you integrate SAP data into Databricks!

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