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]: Unable to load dataset 'dell-research-harvard/newswire' #510

Open
JamesGuthrie opened this issue Feb 25, 2025 · 0 comments
Open

[Bug]: Unable to load dataset 'dell-research-harvard/newswire' #510

JamesGuthrie opened this issue Feb 25, 2025 · 0 comments
Labels
bug Something isn't working community pgai

Comments

@JamesGuthrie
Copy link
Member

What happened?

Attempting to load the above dataset fails:

postgres=# SELECT ai.load_dataset('dell-research-harvard/newswire');
ERROR:  AttributeError: 'NoneType' object has no attribute 'flatten'
CONTEXT:  Traceback (most recent call last):
  PL/Python function "load_dataset", line 35, in <module>
    return ai.load_dataset.load_dataset(
  PL/Python function "load_dataset", line 206, in load_dataset
  PL/Python function "load_dataset", line 47, in get_column_info
PL/Python function "load_dataset"```

### pgai extension affected

0.8.0

### pgai library affected

-

### PostgreSQL version used

17.2

### What operating system did you use?

Linux

### What installation method did you use?

Docker

### What platform did you run on?

On prem/Self-hosted

### Relevant log output and stack trace

```bash

How can we reproduce the bug?

SELECT ai.load_dataset('dell-research-harvard/newswire');

Are you going to work on the bugfix?

None

@JamesGuthrie JamesGuthrie added bug Something isn't working community pgai labels Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community pgai
Projects
None yet
Development

No branches or pull requests

1 participant