Want a way to get the query result schema information

Open
#13 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
php, sql
Domain
backend, databases

Research direction

Start by inspecting the PHP library's Hive/Impala query-result handling and how Thrift responses are exposed. Determine where field names and data types could be obtained, then verify that a consumer can access this schema information after executing a query.

Written by the indexing model from the issue text.

Description

enhancement

Hello,
I'd tried this lib last week and it working well with Impala 2.x server. But I can't find a way to get the query result schema information (field name, data type, etc...).
Is there anyway to get it?
This information is useful when I build a tool to allow consumer execute their SQL over impala.
Thanks.

Dominant language
PHP
Stars
112
Forks
42
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Automattic/php-thrift-sql

All issues in Automattic/php-thrift-sql

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.