514-labs / moose

The developer framework for your data & analytics stack
https://www.moosejs.com
MIT License
20 stars 4 forks source link

Carlos/514 747 update framework object #1094

Closed cjus closed 3 weeks ago

cjus commented 3 weeks ago

This PR demonstrates the comparison of data models using SHA-256 hashes. Note this PR uses the cargo crypto-hash = "0.3.4" package which has over 4.3 million downloads with almost 70K recently. The package has also been in use for 4 years.

The program output below shows output for debugging purposes. The code is commented out and left only for illustrative purposes. I expect that the work in this PR would be used as the basis for continued work in DCM.

          Init Loading config...
⣸ Starting local infrastructure
      Starting development mode
⢺ Processing schema file
          Init Loading config...
⣇ Starting local infrastructure
      Starting development mode
⢺ Processing schema file
  current_schema: [("activity", "String"), ("eventId", "String"), ("timestamp", "DateTime"), ("userId", "String")]
current_data_models: "UserActivity"-"b0d7ebf212ee1b7753ea3e5c89b993278a8b3ea4c4acdb9590d1efbde27da244"
  current_schema: [("activity", "String"), ("eventId", "String"), ("timestamp", "DateTime"), ("userId", "String")]
current_data_models: "ParsedActivity"-"b0d7ebf212ee1b7753ea3e5c89b993278a8b3ea4c4acdb9590d1efbde27da244"
  table_schema: [("activity", "String"), ("eventId", "String"), ("timestamp", "DateTime"), ("userId", "String")]
db_data_models: "ParsedActivity_0_0"-"b0d7ebf212ee1b7753ea3e5c89b993278a8b3ea4c4acdb9590d1efbde27da244"
  table_schema: [("activity", "String"), ("eventId", "String"), ("timestamp", "DateTime"), ("userId", "String")]
db_data_models: "UserActivity_0_0"-"b0d7ebf212ee1b7753ea3e5c89b993278a8b3ea4c4acdb9590d1efbde27da244"
⡗ Processing versions
⢺ Setting up version syncs
      Watching "/Users/cjus/dev/m22a/app"
       Started  web server on port http://localhost:4000. You'll use this to host and port to send data to your MooseJS app
       Started  console on port http://localhost:3001. Check it out to get a bird's eye view of your application and infrastructure
linear[bot] commented 3 weeks ago

514-747 Update Framework Object

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
company-landing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 23, 2024 8:47pm
framework-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 23, 2024 8:47pm
framework-landing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 23, 2024 8:47pm
moose-product-analytics ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 23, 2024 8:47pm