Github user jmahonin commented on the pull request:

    https://github.com/apache/phoenix/pull/59#issuecomment-88569122
  
    I was able to spend a bit more time on the RelationProvider work. The DDL 
for custom providers doesn't work through the 'sql()' method on 
SparkSQLContext, perhaps by design or perhaps due to a bug, but the 'load()' 
method does work to create DataFrames using arbitrary data sources.
    
    I'm still not entirely familiar with their API, and a lot of it is still 
very new and probably subject to churn, but I tried to base the it on existing 
examples in the Spark repo, such as the JDBC and Parquet data sources.
    
    I've got a new commit on a side branch here:
    
https://github.com/FileTrek/phoenix/commit/16f4540ef0889fc6534c91b8638c16001114ba1a
    
    If you're all OK with those changes going in on this PR, I can push them up 
here. Otherwise, I'll stash them aside for a new ticket.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to