dolthub / dolthub/doltpy

support `as_of` parameter in `read_pandas_sql`

Open
#177 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
62
Forks
12
PR merge metrics
No merged PRs in 30d

Description

This is a feature request for adding `as_of` parameter to `read_pandas_sql`.
This parameter is available in `read_pandas` for reading the whole table, but it would be nice to have the same in a generic sql-based method: https://github.com/dolthub/doltpy/blob/main/doltpy/cli/read.py#L23

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in doltpy/cli/read.py around line 23 and compare the existing read_pandas entry point with read_pandas_sql. Trace how the current method accepts and forwards query options, then confirm that read_pandas_sql supports the same as_of behavior as read_pandas; the issue is done when callers can supply that parameter to the generic SQL-based method.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.