-
Notifications
You must be signed in to change notification settings - Fork 262
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
Hackernews data source #1378
base: staging
Are you sure you want to change the base?
Hackernews data source #1378
Conversation
This commit introduces a new data source integration for HackerNews in EvaDB. The integration allows users to connect to HackerNews and retrieve data from various tables such as "items," "users," "top_stories," "new_stories," "best_stories," "ask_stories," "show_stories," "job_stories," and "updates."
…ckerNews data source integration. The documentation provides a brief description of each table, outlining their purpose and the type of information they store. The tables covered include: ``items``, ``users``, ``top_stories``, ``new_stories``, ``best_stories``, ``ask_stories``, ``show_stories``, ``job_stories``, and ``updates``. 1. Added table descriptions in reStructuredText (rst) format under `evadb/docs/source/reference/databases/hackernews.rst`. 2. Updated the table of contents (`evadb/docs/_toc.yml`) to include the new HackerNews documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👋 Hello @Nekronos-SPN, thanks for submitting a EVA DB PR 🙏 To allow your work to be integrated as seamlessly as possible, we advise you to:
- ✅ Verify that your PR is up-to-date with
georgia-tech-db/eva
master
branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by runninggit pull
andgit merge master
locally. - ✅ Verify that all EVA DB Continuous Integration (CI) checks are passing.
- ✅ Reduce changes to the absolute minimum required for your bug fix or feature addition.
There are conflicts from #1362. Please fix. Thanks! |
Hello @kaushikravichandran! The long integration test is returning the following error, even tho the library is included in the requirements.txt. The linter test is stating the following: Could you give me a hand on this one? |
feat: Add HackerNews Data Source Integration and Documentation
This pull request introduces a new data source integration for HackerNews in EvaDB. The integration allows users to connect to HackerNews and retrieve data from various tables such as "items," "users," "top_stories," "new_stories," "best_stories," "ask_stories," "show_stories," "job_stories," and "updates."
Changes Made:
Data Source Integration:
evadb/third_party/databases/hackernews/
containing the necessary files:__init__.py
,requirements.txt
, andhackernews_handler.py
.HackerNewsHandler
class inhackernews_handler.py
that inherits fromDBHandler
and provides methods for connecting, disconnecting, checking connection, and retrieving data.Configuration Parameters:
max_item
for limiting rows, a list oftables
, and the definition ofcolumns
for each table are provided during initialization.Documentation:
hackernews.rst
underevadb/docs/source/reference/databases
with information on the HackerNews data source integration. Updated_toc.yml
to include the new documentation.