Skip to content

FileSource.offline_write_batch doesn't work with S3 #3490

Closed

Description

@goodseog

Expected Behavior

If FileSource.offline_write_batch, write correctly on S3 storage if use s3:// path.

Current Behavior

file_options = feature_view.batch_source.file_options
        filesystem, path = FileSource.create_filesystem_and_path(
            file_options.uri, file_options.s3_endpoint_override
        )

prev_table = pyarrow.parquet.read_table(path, memory_map=True)

When read prev_table, it doens't use "filesystem" kwargs

Steps to reproduce

Always happened

Specifications

  • Version: 0.29.0
  • Platform:
  • Subsystem:

Possible Solution

# default filesystem is None, so it works local & s3fs both
prev_table = pyarrow.parquet.read_table(path, filesystem=filesystem, memory_map=True)

Activity

  1. added a commit that references this issue on Mar 17, 2023
  2. added a commit that references this issue on Mar 24, 2023
  3. stale commented on Aug 10, 2023

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions