Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Power BI Connector cannot read int64 Timestamp Columns #3772

Open
1 of 3 tasks
aersam opened this issue Oct 16, 2024 · 1 comment
Open
1 of 3 tasks

[BUG] Power BI Connector cannot read int64 Timestamp Columns #3772

aersam opened this issue Oct 16, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@aersam
Copy link

aersam commented Oct 16, 2024

Bug

Describe the problem

Steps to reproduce

  1. Create a Test File (here using Databricks)
spark.conf.set("spark.sql.parquet.outputTimestampType", "TIMESTAMP_MILLIS")
spark.sql("create table test_data using delta location 'abfss://MYPATH/repo/test';")

from datetime import datetime, timezone
spark.createDataFrame([{"date": datetime.now(tz=timezone.utc)}]).write.option("mergeSchema", "true").mode("append").save(MYPATH)

The resulting delta file: repo.zip

  1. Read it using fn_ReadDeltaTable in Power BI:
let
    Source = AzureStorage.DataLake("MYPATH", [HierarchicalNavigation = false]),
    DeltaTable = fn_ReadDeltaTable(Source)
in
    DeltaTable

Observed results

Column is empty:
image

Expected results

Column should correctly display the data, as does databricks
image

Willingness to contribute

The Delta Lake Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the Delta Lake code base?

  • Yes. I can contribute a fix for this bug independently.
  • Yes. I would be willing to contribute a fix for this bug with guidance from the Delta Lake community.
  • No. I cannot contribute a bug fix at this time.

I have to admit I don't really understand the Power Query Code of the Connector :)

@aersam aersam added the bug Something isn't working label Oct 16, 2024
@aersam
Copy link
Author

aersam commented Oct 16, 2024

FYI: Reading the parquet directly in power bi does work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant