Replies: 9 comments 7 replies
|
We should think about strict schemas for google big queries (protobuf) or Apache Spark? |
|
I think so - one of the big advantages of this standard would be for use in analytics solutions. |
|
Is there a large performance advantage to externalizing |
Yes, it is! Databases need primary keys :( |
|
How do I know which version of FHIR it is? |
|
What is the table naming convention for resources that contain more than one word, e.g. |
|
How will resource versioning work? Will queries need to take into account that there could be multiple IDs for the same resource with different business versions? |
|
While playing with this demo http://142.132.196.32:7777/#/console I notices that the DuckDB version uses first-level attributes as columns, while Postgres use only one column resource. I am experimenting with SQLAlchemy to write portable queries but it is not possible now, since the table definitions are completely different: # Postgres
class Patient(Base):
__tablename__ = "patient"
id = Column(Integer, primary_key=True)
resource = Column(JSON)
# DuckDB
class Patient(Base):
__tablename__ = "patient"
id = Column(String, primary_key=True)
name = Column(ARRAY(DuckJSON))
birthDate = Column(String)
gender = Column(String) I think we should use the same schema across all databases. |
|
I like this schema, because it leaves space to add generated columns for commonly queried JSON fields/search parameter indexing/etc. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This question is very sensitive for different databases details.
Option 1:
pros:
All reactions