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
adjust API to Datomic's client API #196
Labels
Projects
Comments
TimoKramer
added a commit
to TimoKramer/datahike
that referenced
this issue
Oct 8, 2020
The actual implementation is not complex since one can just feed a sequence to Datahike. It was just a matter of accepting this. The connector namespace is now a bit slimmer since I abstained from using a multimethod. Instead I am checking the input data in a simple cond. Adapted the api documentation to match Datomic so only a map with :tx-data as a key is allowed. Passing a vector or sequence is still working but not documented anymore. The examples from the documentation are added to the test.api namespace for testing if our API works. - Refers replikativ#196 - Closes replikativ#151
TimoKramer
added a commit
to TimoKramer/datahike
that referenced
this issue
Oct 8, 2020
The actual implementation is not complex since one can just feed a sequence to Datahike. It was just a matter of accepting this. The connector namespace is now a bit slimmer since I abstained from using a multimethod. Instead I am checking the input data in a simple cond. Adapted the api documentation to match Datomic so only a map with :tx-data as a key is allowed. Passing a vector or sequence is still working but not documented anymore. The examples from the documentation are added to the test.api namespace for testing if our API works. - Refers replikativ#196 - Closes replikativ#151 - Closes replikativ#78
TimoKramer
added a commit
to TimoKramer/datahike
that referenced
this issue
Oct 13, 2020
- Refers replikativ#196 - Add extended documentation for query - Add unit tests for api
Merged
TimoKramer
added a commit
to TimoKramer/datahike
that referenced
this issue
Oct 14, 2020
- rename document heading because of layout - rename some arguments for better compatibility - change pull api to match Datomic - reformat docs for better layout - set no-doc for namespaces - Refers replikativ#196
TimoKramer
added a commit
to TimoKramer/datahike
that referenced
this issue
Oct 14, 2020
- Refers replikativ#196 - Add extended documentation for query - Add unit tests for api
This was referenced Oct 19, 2020
TimoKramer
added a commit
to TimoKramer/datahike
that referenced
this issue
Oct 20, 2020
- rename document heading because of layout - rename some arguments for better compatibility - change pull api to match Datomic - reformat docs for better layout - set no-doc for namespaces - set no-doc for transact! for compatibility - test all the api - Refers replikativ#196
TimoKramer
added a commit
to TimoKramer/datahike
that referenced
this issue
Oct 20, 2020
- rename document heading because of layout - rename some arguments for better compatibility - change pull api to match Datomic - reformat docs for better layout - set no-doc for namespaces - set no-doc for transact! for compatibility - test all the api - Refers replikativ#196
Regarding empty protocols we decided on implementing a client library following the api namespace to speak to the Datahike server. |
TimoKramer
added
Ready for review
Pull request ready for review
and removed
Work in Progress
labels
Nov 11, 2020
jsmassa
added a commit
that referenced
this issue
Jun 10, 2021
Debug files Clean ups Add documentation Apply CircleCI Orb to normalize CI With a centralized Orb it is possible to make it easier for people to implement CI themselves based on the examples. One only has to pick the necessary steps and it is good to go. Orbs do not help with a centralized workflow because there is no way to set a default workflow within an Orb so steps still have to be inserted manually into all the projects. Also the Orb version has to be manually adjusted in case there is a newer release but this is now set to use the latest major version, currently '0'. - Refers #167 - Renaming of scripts to run tests because of bad English cleanup code use correct tx for history upsert and purge add history upsert test extend purge-before test Add format checking to CI Now Datahike source code will be checked on every CI run and fails if there is a problem with formatting. The command to check it locally is `lein cljfmt check` or if it should be automatically formatted run `lein cljfmt fix`. - Closes #198 - Adding leiningen plugin cljfmt Format with cljfmt Add format checking to CI Now Datahike source code will be checked on every CI run and fails if there is a problem with formatting. The command to check it locally is `lein cljfmt check` or if it should be automatically formatted run `lein cljfmt fix`. - Closes #198 - Adding leiningen plugin cljfmt Update documentation - Closes #227 - Fixes documentation error in postgresql-configuration - Explains better the outsourced documentation to the backends - States the backend-template with a link Add time unit to documentation of small benchmarks add printer to historical databases add printer tests for historical dbs fix formatting use max-tx and max-eid instead of schema for printer adjust printer tests add test setup utils adjust pretty printing as well fix formatting add :db/ensure and :db.entity/attrs to system schema add entity spec for required attributes to the transactor add tests for required attributes with db/ensure adjust schema tests to new implicit-schema ignore calva files add :db.entity/preds to system schema add db.entity/predicates to the transactor add tests for entity predicates fix formatting again add entity spec docs fix time variance pr db tests add and retrieve hashes from stores add hashing tests fix purge and db hash fix formatting ADR build tooling add changelog, bump dependencies revert dependencies move to 0.3.3-SNAPSHOT Implement lazy sequence for transact The actual implementation is not complex since one can just feed a sequence to Datahike. It was just a matter of accepting this. The connector namespace is now a bit slimmer since I abstained from using a multimethod. Instead I am checking the input data in a simple cond. Adapted the api documentation to match Datomic so only a map with :tx-data as a key is allowed. Passing a vector or sequence is still working but not documented anymore. The examples from the documentation are added to the test.api namespace for testing if our API works. - Refers #196 - Closes #151 - Closes #78 Add query with string - Refers #196 - Add extended documentation for query - Add unit tests for api Adapt api to match Datomic and test examples - rename document heading because of layout - rename some arguments for better compatibility - change pull api to match Datomic - reformat docs for better layout - set no-doc for namespaces - set no-doc for transact! for compatibility - test all the api - Closes #196 Squashed commit of the following: commit 17efb9565392cf505128e21639113948762905b1 Author: Timo Kramer <fw-git@timokramer.de> Date: Mon Nov 9 12:48:10 2020 +0100 Fix seek-datoms error in api namespace commit 4e38d0f Author: Timo Kramer <fw-git@timokramer.de> Date: Fri Nov 6 16:04:50 2020 +0100 Add listen function to API commit ec3b084 Author: Timo Kramer <fw-git@timokramer.de> Date: Fri Nov 6 16:19:34 2020 +0100 Switch using core namespace to avoid logic in api namespace commit 99b825f Author: Timo Kramer <fw-git@timokramer.de> Date: Fri Oct 30 14:10:07 2020 +0100 Format fix commit 6601dc2 Author: Timo Kramer <fw-git@timokramer.de> Date: Fri Oct 30 09:24:49 2020 +0100 Add documentation about cljdoc and Datomic differences commit c71b9a6 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 28 19:18:47 2020 +0100 Add more tests for seek-datoms but failing Datoms function works with eavt index. Updated documentation for datoms. commit 6c910e7 Author: Timo Kramer <fw-git@timokramer.de> Date: Mon Oct 26 13:36:31 2020 +0100 Comment tests that need clarification on bugreport commit 07713ed Author: Timo Kramer <fw-git@timokramer.de> Date: Thu Oct 22 13:55:32 2020 +0200 Optimize formating commit 7db4c8d Author: Timo Kramer <fw-git@timokramer.de> Date: Thu Oct 22 13:03:42 2020 +0200 Add index-range api docs and tests commit 9f4249c Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 20:52:34 2020 +0200 Delete docstrings from core ns because duplicate with api ns commit 78ddfb7 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 17:42:21 2020 +0200 Corrected transact tests and documentation Covering tempids and transaction report in tests commit 3a1f96f Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 17:16:02 2020 +0200 Add history, since and as-of api tests and documentation commit 30e1c19 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 14:56:46 2020 +0200 Add seek-datoms api test commit 7183b96 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 14:14:11 2020 +0200 Add datoms api test commit 0301b11 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 14 18:08:43 2020 +0200 Adapt api to match Datomic and test examples - rename document heading because of layout - rename some arguments for better compatibility - change pull api to match Datomic - reformat docs for better layout - set no-doc for namespaces - set no-doc for transact! for compatibility - test all the api - Refers #196 Switch to Clojure CLI tools This commit switches over the CI from leiningen to clojure cli tools. For that it introduces the file deps.edn and pom.xml that are needed for clojure cli tools to resolve dependencies and build the artifact. The project.clj is deleted. The CI is done by CircleCI and the old circle config is delete, but the config.yml in .circleci is updated to use the tools orb. The setup step is taken out of the orb and customized to use maven to compile the java source code. That step was not clear in the beginning and took me a while to figure out. - Introduce deps.edn and pom.xml - Delete project.clj - Update CI - Leave out all CLJS functionality for now - Adapt documentation - Closes #253 - With contributions by elMor3no and groundedSAGE update superv.async Correct tabs to spaces in config example Imports the hh-tree source code directly into this project so that it is easer to develop. Moves 'UpsertOp' from hh-tree namespace to datahike's namespace. Adds a first working version of upsert. Minor change: cleans up code. Minor change: renamings and indentation fixes. Adds more tests. Minor change: rephrase comment. Implements a big part of the solution towards upsert. Adds a comment. Adds a version that takes care of history. But it is not optimized as it has a 'db search' left. Adds a version that takes care of history. But it is not optimized as it has a 'db search' left. Minor change: removes println. Disables all printing. Restores commented out parts of history handling. When :avet, 'insert' should be used instead of 'upsert'. When history must be kept, we must use 'insert' in lieu of 'upsert'. Comments out printlns. An improvement that maintains the status quo: only 2 errors left. Yet another improvement that keeps the status quo: 2 errors left. Adds an improvement: one of the db-search has been removed. Now test failures goes up to 5 though. Removes all 'db search on the path'. There are still pblm though: 5 failures. A version which in theory should be equivalent to dev branch but still we get 7 failures. Uses a naive map walk in -apply-op-to-tree. Adds a version that uses subseq when we are at leafs of the tree. Also adds some other versions uses subseq and maps but they have bugs. Adds a comment. Adds the file used for benchmarking. Cleans up. Renames variables. Adds todo. Makes code a bit clearer. Refactors function. Refactors and replace (not (empty? x)) by (seq x). Updates the benchmarks. Fixes bug: was not removing old datom when on an index node. Minor changes. Renames variable and cleans up. Fixes bug: now handles the case where a deferred-op, on an index node, has to be applied. Adds a test. Fixes bug: temporal dbs were wrongly updated. Minor change: indentation. Fixes bug: removes not necessary code. Adds to history db datoms that were retracted. Removes deprecated comment. Fixes bugs: 1. inserting into the wrong tree, 2. wrongly throwing uniqueness exception. Cleans up. Code is ready for Pull Request. Removes file. Adds a todo. Removes comments. Removes dir which was used for development. Cleans up. Removes changes made for development only. Removes changes made for development only. Cleans up. Extracts function 'remove-old'. Refactors code so that db is passed as argument to upsert. Passes 'index-type' as argument to upsertOp. Stop trying to call 'upsert' on hh-tree, use 'enqueue' instead. Adds the hitchhiker tree source. Revert "Adds the hitchhiker tree source." This reverts commit 6e83f61. Revert "Passes 'index-type' as argument to upsertOp." This reverts commit 5981d52. Revert "Refactors code so that db is passed as argument to upsert." This reverts commit 32cc482. Removes deprecated comment. Adds 'temporal?' arg to 'upsert' function. Adds temporal upserts and it seems to work. Adapts test to upsert semantics. Implements temporal-upserts. Adds missing code to temporal-upserts implementation. Implements upsert for persistent-set. Fixes spaces. Fixes temporal-upsert for persistent-set. Fixes temporal-upsert for persistent-set. Stops calling 'upsert' on hh-tree as function has been removed. Use 'enqueue' instead. Don't store meta attributes into the temporal indexes. Fixes indentation. Fixes syntax error. Makes case expression more robust. Stops calling 'upsert' on hh-tree, use 'enqueue' instead. Exclude ':db/txInstant' only from temporal indices. Fixes bug about transaction time of old datoms following an upsert in the temporal trees. Fixes upsert for temporal indices. Stops using 'map' as argument to functions, uses 'kvs' instead. Fixes comment. Fixes purging history after changes due to upsert. The issue was caused by temporal indices also storing current datoms (due to the design change caused by the need to improve performance of 'upsert'). To fix the issue, we first had to remove the current datoms from the temporal ones and then apply the purge algo that was already used before 'upsert'. Simplifies function syntax. Uses take-while instead of filter. It should improve running time. Fixes syntax error and tests fix. Fixes serialization issue with upsert operations. Refactors code to move upsert related function into its own namespace. Fixes issues from previous refactoring. Fixes upsert serialization bug. Fixes deserializition of temporal-UpsertOp. Throws exception on unhandled cases. Fixes english. Stops storing a datom both in the key and the value of the tree (just keep the key). Stops storing a datom both in the key and the value of the tree (just keep the key). Minor change. Improves comment. Stops using a 'value' part in UpsertOp and TemporalUpsertOp. Merges from dev. Fixes tests: new upsert implementation no longer returns retracted datoms (i.e. the old datoms) in :tx-data. Fixes indentation. Reformat to fit clojure community Bump deps Fix mention of DataScript in docs Update pom.xml from deps.edn Implements tuples support. Squashed commit of the following: commit 81fb517 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Dec 4 18:58:11 2020 +0100 Fixes formatting. commit 1aea287 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Dec 4 18:45:13 2020 +0100 Fixes unique constraint issue in test. commit a899018 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Dec 4 18:04:56 2020 +0100 Fixes upsert tuples support. commit 5463c4f Merge: 6cae95a 3181bff Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Dec 4 16:55:42 2020 +0100 Merge branch 'development' into tuples commit 6cae95a Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Nov 12 15:34:05 2020 +0100 Fixes formatting of db.cljc. commit ab066ca Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:32:56 2020 +0100 Makes sure the type of an homogeneous tuple values is correct. commit 8c968d4 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:15:26 2020 +0100 Adds test names. commit 867b920 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:13:40 2020 +0100 Fixes test names. commit fbd2225 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:09:11 2020 +0100 Removes deprecated comment. commit d89a504 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:06:16 2020 +0100 Throws error if there is a mismatch between values and their types when transacting an heterogeneous tuple. commit 72f129e Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 20:29:28 2020 +0100 Throws error when heterogeneous tuple does not contain the right number of elements. commit e958a6f Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 20:28:23 2020 +0100 Removes useless code. commit 11c2ca6 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 19:35:16 2020 +0100 Throws error if homogeneous tuple values are fo different types. commit aa76d5e Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 19:00:18 2020 +0100 Makes naming more consistent. commit 7348d69 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 18:58:50 2020 +0100 Simplifies test. commit c2c93a7 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 18:54:57 2020 +0100 Throw error if homogeneous tuple contains more than 8 values. commit bb4eb4b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:40:18 2020 +0100 Adds a test. commit f297056 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:36:32 2020 +0100 Makes tests more consistent. commit ef59a19 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:30:17 2020 +0100 Improves comment. commit f6af389 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:18:35 2020 +0100 Cleans up test. commit 15e788b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:14:08 2020 +0100 Cleans up test. commit 9376c33 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:13:47 2020 +0100 Adds documentation. commit 141b0d8 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:54:53 2020 +0100 Cleans up test. commit 28f3fb8 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:52:16 2020 +0100 Cleans up test. commit b8503b3 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:43:21 2020 +0100 Adds tests. commit c729714 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:41:09 2020 +0100 Attempts to fix test. commit 9cbde8e Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:39:33 2020 +0100 Cleans up test. commit 2d0f914 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:38:08 2020 +0100 Cleans up test. commit bcda2b4 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:08:15 2020 +0100 Removes no longer needed code. commit 33508e0 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:46:43 2020 +0100 Removes testing code. commit 0a0036d Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:41:33 2020 +0100 Adds documentation to functions. commit 2aa6d9e Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:30:58 2020 +0100 Fixes wrong function name. commit c0ef7a9 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:25:09 2020 +0100 Fixes bug regarding composite tuples. commit abdb7ba Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:13:56 2020 +0100 Removes unconsistent test. commit 6e2df88 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:12:26 2020 +0100 Renames test. commit 45eeb4b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:12:12 2020 +0100 Fixes wrong schema declaration in test. commit 6aebd62 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 11:16:04 2020 +0100 Highlights TODOs. commit 693630d Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 18:26:49 2020 +0100 Adds another test against direct manipulation of tuples. commit 4e0e6d2 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 18:21:40 2020 +0100 Renames test. commit 5116771 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 18:20:17 2020 +0100 Test users don't set tuples directly and that tuples can be used as indices. commit dedab83 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 18:04:42 2020 +0100 Don't let user set tuples. commit 9b22207 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 10:05:14 2020 +0100 Adds lookup-refs tests. commit 0619b08 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Nov 5 17:52:37 2020 +0100 Removes comments. commit b56569b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Nov 5 17:51:57 2020 +0100 Adds upsert tests for tuples. commit 0a98bdc Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Nov 5 17:05:08 2020 +0100 Adds uniqueness tests. commit 69d3f56 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Nov 3 16:26:22 2020 +0100 Adds functions 'tuple' and 'untuple' to queries. commit 7243bc6 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Nov 3 14:22:45 2020 +0100 Fixes bug comparing tuples to nil. commit 95f4c37 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Nov 3 11:30:15 2020 +0100 Adds more tests. commit 7b31c54 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 12:30:50 2020 +0100 Removes temporary helper code. commit 9f7396b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 12:25:04 2020 +0100 Done fixing issues related to missing tuple entries in rschema. commit 0d2c378 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 10:48:02 2020 +0100 Minor change: removes comments. commit 89ce332 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 10:47:10 2020 +0100 Exploits the fact that :db.type/tuple is now working. commit c547f17 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 10:37:59 2020 +0100 Fixes rschema. It now includes an entry for ':db.type/tuple'. commit 7d8cb2c Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 29 15:39:51 2020 +0100 Adds a missing element to schema. commit 4c114e4 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 29 14:26:44 2020 +0100 Adds first version that transact a composite tuple on a simple test example. commit 5146472 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 29 10:27:09 2020 +0100 Intoroduces 'flush-tuples' function. commit 17980ce Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Wed Oct 28 16:55:41 2020 +0100 Adds temporary fix until schema is updated correctly. commit 154dcbb Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 22 12:14:50 2020 +0200 Fixes test. commit dc0abc1 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 22 11:33:03 2020 +0200 Starts handling tuples in 'transact-tx-data'. commit 9fd3d24 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Wed Oct 21 20:37:55 2020 +0200 Slowly integrates tuples implementation into transact-tx-data. commit 22d0691 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Wed Oct 21 20:08:49 2020 +0200 Adds temporary fixes (which must be taken care of later). commit efcd14c Author: chrislain <chrislain@chrislains-macbook-pro-13.home> Date: Tue Oct 20 17:50:20 2020 +0200 Adds the functionnality to queue tuples into a transaction report. commit 312cf2b Author: chrislain <chrislain@chrislains-macbook-pro-13.home> Date: Tue Oct 20 16:30:35 2020 +0200 Renames var. commit 29ebf0d Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Oct 19 17:32:50 2020 +0200 Sets schema to 'write' in tests. commit b9f80d3 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Oct 19 17:31:38 2020 +0200 Fixes comment. commit f06609a Author: chrislain <chrislain@chrislains-MacBook-Pro-13.local> Date: Fri Oct 16 20:33:58 2020 +0200 Got a long way towards the function that maps an attribute to all the tuples it is involved in. commit a7171d1 Author: chrislain <chrislain@chrislains-MacBook-Pro-13.local> Date: Fri Oct 16 16:13:17 2020 +0200 Adds skeleton for testing composite tuple transaction. commit 22cef58 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Thu Oct 15 17:13:51 2020 +0200 Adds and improves tests. commit fd535d0 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Fri Oct 9 16:04:58 2020 +0200 Saving and retrieving a vector works! commit df8b1c2 Merge: 079ba49 35e9710 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Fri Oct 9 15:52:50 2020 +0200 Merge branch 'development' into tuples commit 079ba49 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Thu Oct 1 15:44:24 2020 +0200 Fixes bad cut and paste. commit 25a58c8 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Thu Oct 1 10:02:52 2020 +0200 Finishes schema validation implementation for all kind of tuples. commit 4c455c4 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Wed Sep 30 17:17:10 2020 +0200 Implements schema validation for transaction of Homogeneours tuple (tupleType). commit 08ba3e0 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Wed Sep 30 13:50:50 2020 +0200 Towards improving tuples schema definition implementation. commit aabfb3c Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Sep 29 16:19:12 2020 +0200 Adds TODO: commit edabe75 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Sep 29 16:17:25 2020 +0200 Validates schemas for the different type of tuples. commit 1101071 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Tue Sep 29 15:10:15 2020 +0200 Minor refactoring. commit e01599b Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Sep 28 18:39:27 2020 +0200 Simplifies test. commit 7a3085e Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Sep 28 18:37:59 2020 +0200 Adds validation of a composite tuple schema. commit 8bc5716 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Sep 28 15:02:50 2020 +0200 Adds TODOs. Extend benchmark tool (#259) * Extend benchmark tool * Switch to deps * Fix dependency format * Revert to original alignment * Make benchmark configurations unique * Reset config values Add documentation for the pull-api namespace (#257) * Add frame state diagram * Add pull-api documentation * Update format and add examples * Add introduction to document Uses throw instead of raise to avoid logging the exception which might be caught. Uses throw instead of raise to avoid logging the exception which might be caught. Add support for cljs and tests. Fixes formatting. Fix cljdoc documentation The documentation on cljdoc is broken because of multiple things 1. We switched to Clojure CLI tools and did not yet provide a backlink to the SCM repository so cljdoc can not get docs out of it. 2. Some parts of the api namespace do not render correctly. 3. A no doc tag is missing in a newly added namespace. Move config log and avoid password logging - Move the log because it gets logged multiple times currently - JDBC requires password configuration and this should not be logged - Closes #263 Fix the transaction debug logging Support walking through entities Fix the transaction debug logging Fixed a bug in the Datom's `entryAt` implementation Added the missing `.` in a constructor call. Added some unit tests for Datom's implementation. Added the implementation of IFn on Datoms. Allow `:db/retract` to be used without specifying a value (#241) `[:db/retract e a]` is not simply an alias for `[:db.fn/retractAttribute e a]` because the latter also retracts any referenced component attributes. Correct formatting and namespace definition of datom test ns Prepare release 0.3.3 Correct discord badge Move to release version 0.3.3 move to 0.3.4-SNAPSHOT Add predicate var binding check and test (#275) * Add check and test * Clean up Run benchmarks with lower logging level Add documentation on how to run tests Change unittest-script to enable --watch Remove versions badge because it no longer works Add tests and make functions public Fix formatting Add PullSpec constructors for tests Refactor integration tests Create FUNDING.yml Add benchmark to CI (#288) Export with txs and timed import with correct max-tx. Tests. Add standard deviations to benchmarks Revert "Add benchmark to CI (#288)" This reverts commit 5e42dd1. the foundation for the fix for #289. Adds timestamp to upsert operations so that they can be applied to the tree in creation time order. Fixes indentation. Fixes indentation. Temporarily refers to the hitchhiker tree library as a git sha. Adds an operation counter field to the db. Operations can be re-odered according to their creation time thanks to the counter. Extracts variable. Temporarily points to the needed branch for the hitchhiker-tree. Fixes formatting. Replaces '+ 1' by 'inc'. Fixes formatting. Removes the git sha dependency on hitchhiker-tree. Tries to solve dependency not being loaded with the correct version. Fixes hitchhiker-tree version in pom.xml.
jsmassa
added a commit
that referenced
this issue
Jun 17, 2021
Debug files Clean ups Add documentation Apply CircleCI Orb to normalize CI With a centralized Orb it is possible to make it easier for people to implement CI themselves based on the examples. One only has to pick the necessary steps and it is good to go. Orbs do not help with a centralized workflow because there is no way to set a default workflow within an Orb so steps still have to be inserted manually into all the projects. Also the Orb version has to be manually adjusted in case there is a newer release but this is now set to use the latest major version, currently '0'. - Refers #167 - Renaming of scripts to run tests because of bad English cleanup code use correct tx for history upsert and purge add history upsert test extend purge-before test Add format checking to CI Now Datahike source code will be checked on every CI run and fails if there is a problem with formatting. The command to check it locally is `lein cljfmt check` or if it should be automatically formatted run `lein cljfmt fix`. - Closes #198 - Adding leiningen plugin cljfmt Format with cljfmt Add format checking to CI Now Datahike source code will be checked on every CI run and fails if there is a problem with formatting. The command to check it locally is `lein cljfmt check` or if it should be automatically formatted run `lein cljfmt fix`. - Closes #198 - Adding leiningen plugin cljfmt Update documentation - Closes #227 - Fixes documentation error in postgresql-configuration - Explains better the outsourced documentation to the backends - States the backend-template with a link Add time unit to documentation of small benchmarks add printer to historical databases add printer tests for historical dbs fix formatting use max-tx and max-eid instead of schema for printer adjust printer tests add test setup utils adjust pretty printing as well fix formatting add :db/ensure and :db.entity/attrs to system schema add entity spec for required attributes to the transactor add tests for required attributes with db/ensure adjust schema tests to new implicit-schema ignore calva files add :db.entity/preds to system schema add db.entity/predicates to the transactor add tests for entity predicates fix formatting again add entity spec docs fix time variance pr db tests add and retrieve hashes from stores add hashing tests fix purge and db hash fix formatting ADR build tooling add changelog, bump dependencies revert dependencies move to 0.3.3-SNAPSHOT Implement lazy sequence for transact The actual implementation is not complex since one can just feed a sequence to Datahike. It was just a matter of accepting this. The connector namespace is now a bit slimmer since I abstained from using a multimethod. Instead I am checking the input data in a simple cond. Adapted the api documentation to match Datomic so only a map with :tx-data as a key is allowed. Passing a vector or sequence is still working but not documented anymore. The examples from the documentation are added to the test.api namespace for testing if our API works. - Refers #196 - Closes #151 - Closes #78 Add query with string - Refers #196 - Add extended documentation for query - Add unit tests for api Adapt api to match Datomic and test examples - rename document heading because of layout - rename some arguments for better compatibility - change pull api to match Datomic - reformat docs for better layout - set no-doc for namespaces - set no-doc for transact! for compatibility - test all the api - Closes #196 Squashed commit of the following: commit 17efb9565392cf505128e21639113948762905b1 Author: Timo Kramer <fw-git@timokramer.de> Date: Mon Nov 9 12:48:10 2020 +0100 Fix seek-datoms error in api namespace commit 4e38d0f Author: Timo Kramer <fw-git@timokramer.de> Date: Fri Nov 6 16:04:50 2020 +0100 Add listen function to API commit ec3b084 Author: Timo Kramer <fw-git@timokramer.de> Date: Fri Nov 6 16:19:34 2020 +0100 Switch using core namespace to avoid logic in api namespace commit 99b825f Author: Timo Kramer <fw-git@timokramer.de> Date: Fri Oct 30 14:10:07 2020 +0100 Format fix commit 6601dc2 Author: Timo Kramer <fw-git@timokramer.de> Date: Fri Oct 30 09:24:49 2020 +0100 Add documentation about cljdoc and Datomic differences commit c71b9a6 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 28 19:18:47 2020 +0100 Add more tests for seek-datoms but failing Datoms function works with eavt index. Updated documentation for datoms. commit 6c910e7 Author: Timo Kramer <fw-git@timokramer.de> Date: Mon Oct 26 13:36:31 2020 +0100 Comment tests that need clarification on bugreport commit 07713ed Author: Timo Kramer <fw-git@timokramer.de> Date: Thu Oct 22 13:55:32 2020 +0200 Optimize formating commit 7db4c8d Author: Timo Kramer <fw-git@timokramer.de> Date: Thu Oct 22 13:03:42 2020 +0200 Add index-range api docs and tests commit 9f4249c Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 20:52:34 2020 +0200 Delete docstrings from core ns because duplicate with api ns commit 78ddfb7 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 17:42:21 2020 +0200 Corrected transact tests and documentation Covering tempids and transaction report in tests commit 3a1f96f Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 17:16:02 2020 +0200 Add history, since and as-of api tests and documentation commit 30e1c19 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 14:56:46 2020 +0200 Add seek-datoms api test commit 7183b96 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 14:14:11 2020 +0200 Add datoms api test commit 0301b11 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 14 18:08:43 2020 +0200 Adapt api to match Datomic and test examples - rename document heading because of layout - rename some arguments for better compatibility - change pull api to match Datomic - reformat docs for better layout - set no-doc for namespaces - set no-doc for transact! for compatibility - test all the api - Refers #196 Switch to Clojure CLI tools This commit switches over the CI from leiningen to clojure cli tools. For that it introduces the file deps.edn and pom.xml that are needed for clojure cli tools to resolve dependencies and build the artifact. The project.clj is deleted. The CI is done by CircleCI and the old circle config is delete, but the config.yml in .circleci is updated to use the tools orb. The setup step is taken out of the orb and customized to use maven to compile the java source code. That step was not clear in the beginning and took me a while to figure out. - Introduce deps.edn and pom.xml - Delete project.clj - Update CI - Leave out all CLJS functionality for now - Adapt documentation - Closes #253 - With contributions by elMor3no and groundedSAGE update superv.async Correct tabs to spaces in config example Imports the hh-tree source code directly into this project so that it is easer to develop. Moves 'UpsertOp' from hh-tree namespace to datahike's namespace. Adds a first working version of upsert. Minor change: cleans up code. Minor change: renamings and indentation fixes. Adds more tests. Minor change: rephrase comment. Implements a big part of the solution towards upsert. Adds a comment. Adds a version that takes care of history. But it is not optimized as it has a 'db search' left. Adds a version that takes care of history. But it is not optimized as it has a 'db search' left. Minor change: removes println. Disables all printing. Restores commented out parts of history handling. When :avet, 'insert' should be used instead of 'upsert'. When history must be kept, we must use 'insert' in lieu of 'upsert'. Comments out printlns. An improvement that maintains the status quo: only 2 errors left. Yet another improvement that keeps the status quo: 2 errors left. Adds an improvement: one of the db-search has been removed. Now test failures goes up to 5 though. Removes all 'db search on the path'. There are still pblm though: 5 failures. A version which in theory should be equivalent to dev branch but still we get 7 failures. Uses a naive map walk in -apply-op-to-tree. Adds a version that uses subseq when we are at leafs of the tree. Also adds some other versions uses subseq and maps but they have bugs. Adds a comment. Adds the file used for benchmarking. Cleans up. Renames variables. Adds todo. Makes code a bit clearer. Refactors function. Refactors and replace (not (empty? x)) by (seq x). Updates the benchmarks. Fixes bug: was not removing old datom when on an index node. Minor changes. Renames variable and cleans up. Fixes bug: now handles the case where a deferred-op, on an index node, has to be applied. Adds a test. Fixes bug: temporal dbs were wrongly updated. Minor change: indentation. Fixes bug: removes not necessary code. Adds to history db datoms that were retracted. Removes deprecated comment. Fixes bugs: 1. inserting into the wrong tree, 2. wrongly throwing uniqueness exception. Cleans up. Code is ready for Pull Request. Removes file. Adds a todo. Removes comments. Removes dir which was used for development. Cleans up. Removes changes made for development only. Removes changes made for development only. Cleans up. Extracts function 'remove-old'. Refactors code so that db is passed as argument to upsert. Passes 'index-type' as argument to upsertOp. Stop trying to call 'upsert' on hh-tree, use 'enqueue' instead. Adds the hitchhiker tree source. Revert "Adds the hitchhiker tree source." This reverts commit 6e83f61. Revert "Passes 'index-type' as argument to upsertOp." This reverts commit 5981d52. Revert "Refactors code so that db is passed as argument to upsert." This reverts commit 32cc482. Removes deprecated comment. Adds 'temporal?' arg to 'upsert' function. Adds temporal upserts and it seems to work. Adapts test to upsert semantics. Implements temporal-upserts. Adds missing code to temporal-upserts implementation. Implements upsert for persistent-set. Fixes spaces. Fixes temporal-upsert for persistent-set. Fixes temporal-upsert for persistent-set. Stops calling 'upsert' on hh-tree as function has been removed. Use 'enqueue' instead. Don't store meta attributes into the temporal indexes. Fixes indentation. Fixes syntax error. Makes case expression more robust. Stops calling 'upsert' on hh-tree, use 'enqueue' instead. Exclude ':db/txInstant' only from temporal indices. Fixes bug about transaction time of old datoms following an upsert in the temporal trees. Fixes upsert for temporal indices. Stops using 'map' as argument to functions, uses 'kvs' instead. Fixes comment. Fixes purging history after changes due to upsert. The issue was caused by temporal indices also storing current datoms (due to the design change caused by the need to improve performance of 'upsert'). To fix the issue, we first had to remove the current datoms from the temporal ones and then apply the purge algo that was already used before 'upsert'. Simplifies function syntax. Uses take-while instead of filter. It should improve running time. Fixes syntax error and tests fix. Fixes serialization issue with upsert operations. Refactors code to move upsert related function into its own namespace. Fixes issues from previous refactoring. Fixes upsert serialization bug. Fixes deserializition of temporal-UpsertOp. Throws exception on unhandled cases. Fixes english. Stops storing a datom both in the key and the value of the tree (just keep the key). Stops storing a datom both in the key and the value of the tree (just keep the key). Minor change. Improves comment. Stops using a 'value' part in UpsertOp and TemporalUpsertOp. Merges from dev. Fixes tests: new upsert implementation no longer returns retracted datoms (i.e. the old datoms) in :tx-data. Fixes indentation. Reformat to fit clojure community Bump deps Fix mention of DataScript in docs Update pom.xml from deps.edn Implements tuples support. Squashed commit of the following: commit 81fb517 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Dec 4 18:58:11 2020 +0100 Fixes formatting. commit 1aea287 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Dec 4 18:45:13 2020 +0100 Fixes unique constraint issue in test. commit a899018 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Dec 4 18:04:56 2020 +0100 Fixes upsert tuples support. commit 5463c4f Merge: 6cae95a 3181bff Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Dec 4 16:55:42 2020 +0100 Merge branch 'development' into tuples commit 6cae95a Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Nov 12 15:34:05 2020 +0100 Fixes formatting of db.cljc. commit ab066ca Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:32:56 2020 +0100 Makes sure the type of an homogeneous tuple values is correct. commit 8c968d4 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:15:26 2020 +0100 Adds test names. commit 867b920 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:13:40 2020 +0100 Fixes test names. commit fbd2225 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:09:11 2020 +0100 Removes deprecated comment. commit d89a504 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:06:16 2020 +0100 Throws error if there is a mismatch between values and their types when transacting an heterogeneous tuple. commit 72f129e Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 20:29:28 2020 +0100 Throws error when heterogeneous tuple does not contain the right number of elements. commit e958a6f Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 20:28:23 2020 +0100 Removes useless code. commit 11c2ca6 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 19:35:16 2020 +0100 Throws error if homogeneous tuple values are fo different types. commit aa76d5e Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 19:00:18 2020 +0100 Makes naming more consistent. commit 7348d69 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 18:58:50 2020 +0100 Simplifies test. commit c2c93a7 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 18:54:57 2020 +0100 Throw error if homogeneous tuple contains more than 8 values. commit bb4eb4b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:40:18 2020 +0100 Adds a test. commit f297056 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:36:32 2020 +0100 Makes tests more consistent. commit ef59a19 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:30:17 2020 +0100 Improves comment. commit f6af389 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:18:35 2020 +0100 Cleans up test. commit 15e788b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:14:08 2020 +0100 Cleans up test. commit 9376c33 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:13:47 2020 +0100 Adds documentation. commit 141b0d8 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:54:53 2020 +0100 Cleans up test. commit 28f3fb8 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:52:16 2020 +0100 Cleans up test. commit b8503b3 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:43:21 2020 +0100 Adds tests. commit c729714 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:41:09 2020 +0100 Attempts to fix test. commit 9cbde8e Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:39:33 2020 +0100 Cleans up test. commit 2d0f914 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:38:08 2020 +0100 Cleans up test. commit bcda2b4 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:08:15 2020 +0100 Removes no longer needed code. commit 33508e0 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:46:43 2020 +0100 Removes testing code. commit 0a0036d Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:41:33 2020 +0100 Adds documentation to functions. commit 2aa6d9e Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:30:58 2020 +0100 Fixes wrong function name. commit c0ef7a9 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:25:09 2020 +0100 Fixes bug regarding composite tuples. commit abdb7ba Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:13:56 2020 +0100 Removes unconsistent test. commit 6e2df88 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:12:26 2020 +0100 Renames test. commit 45eeb4b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:12:12 2020 +0100 Fixes wrong schema declaration in test. commit 6aebd62 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 11:16:04 2020 +0100 Highlights TODOs. commit 693630d Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 18:26:49 2020 +0100 Adds another test against direct manipulation of tuples. commit 4e0e6d2 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 18:21:40 2020 +0100 Renames test. commit 5116771 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 18:20:17 2020 +0100 Test users don't set tuples directly and that tuples can be used as indices. commit dedab83 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 18:04:42 2020 +0100 Don't let user set tuples. commit 9b22207 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 10:05:14 2020 +0100 Adds lookup-refs tests. commit 0619b08 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Nov 5 17:52:37 2020 +0100 Removes comments. commit b56569b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Nov 5 17:51:57 2020 +0100 Adds upsert tests for tuples. commit 0a98bdc Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Nov 5 17:05:08 2020 +0100 Adds uniqueness tests. commit 69d3f56 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Nov 3 16:26:22 2020 +0100 Adds functions 'tuple' and 'untuple' to queries. commit 7243bc6 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Nov 3 14:22:45 2020 +0100 Fixes bug comparing tuples to nil. commit 95f4c37 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Nov 3 11:30:15 2020 +0100 Adds more tests. commit 7b31c54 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 12:30:50 2020 +0100 Removes temporary helper code. commit 9f7396b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 12:25:04 2020 +0100 Done fixing issues related to missing tuple entries in rschema. commit 0d2c378 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 10:48:02 2020 +0100 Minor change: removes comments. commit 89ce332 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 10:47:10 2020 +0100 Exploits the fact that :db.type/tuple is now working. commit c547f17 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 10:37:59 2020 +0100 Fixes rschema. It now includes an entry for ':db.type/tuple'. commit 7d8cb2c Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 29 15:39:51 2020 +0100 Adds a missing element to schema. commit 4c114e4 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 29 14:26:44 2020 +0100 Adds first version that transact a composite tuple on a simple test example. commit 5146472 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 29 10:27:09 2020 +0100 Intoroduces 'flush-tuples' function. commit 17980ce Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Wed Oct 28 16:55:41 2020 +0100 Adds temporary fix until schema is updated correctly. commit 154dcbb Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 22 12:14:50 2020 +0200 Fixes test. commit dc0abc1 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 22 11:33:03 2020 +0200 Starts handling tuples in 'transact-tx-data'. commit 9fd3d24 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Wed Oct 21 20:37:55 2020 +0200 Slowly integrates tuples implementation into transact-tx-data. commit 22d0691 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Wed Oct 21 20:08:49 2020 +0200 Adds temporary fixes (which must be taken care of later). commit efcd14c Author: chrislain <chrislain@chrislains-macbook-pro-13.home> Date: Tue Oct 20 17:50:20 2020 +0200 Adds the functionnality to queue tuples into a transaction report. commit 312cf2b Author: chrislain <chrislain@chrislains-macbook-pro-13.home> Date: Tue Oct 20 16:30:35 2020 +0200 Renames var. commit 29ebf0d Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Oct 19 17:32:50 2020 +0200 Sets schema to 'write' in tests. commit b9f80d3 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Oct 19 17:31:38 2020 +0200 Fixes comment. commit f06609a Author: chrislain <chrislain@chrislains-MacBook-Pro-13.local> Date: Fri Oct 16 20:33:58 2020 +0200 Got a long way towards the function that maps an attribute to all the tuples it is involved in. commit a7171d1 Author: chrislain <chrislain@chrislains-MacBook-Pro-13.local> Date: Fri Oct 16 16:13:17 2020 +0200 Adds skeleton for testing composite tuple transaction. commit 22cef58 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Thu Oct 15 17:13:51 2020 +0200 Adds and improves tests. commit fd535d0 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Fri Oct 9 16:04:58 2020 +0200 Saving and retrieving a vector works! commit df8b1c2 Merge: 079ba49 35e9710 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Fri Oct 9 15:52:50 2020 +0200 Merge branch 'development' into tuples commit 079ba49 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Thu Oct 1 15:44:24 2020 +0200 Fixes bad cut and paste. commit 25a58c8 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Thu Oct 1 10:02:52 2020 +0200 Finishes schema validation implementation for all kind of tuples. commit 4c455c4 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Wed Sep 30 17:17:10 2020 +0200 Implements schema validation for transaction of Homogeneours tuple (tupleType). commit 08ba3e0 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Wed Sep 30 13:50:50 2020 +0200 Towards improving tuples schema definition implementation. commit aabfb3c Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Sep 29 16:19:12 2020 +0200 Adds TODO: commit edabe75 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Sep 29 16:17:25 2020 +0200 Validates schemas for the different type of tuples. commit 1101071 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Tue Sep 29 15:10:15 2020 +0200 Minor refactoring. commit e01599b Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Sep 28 18:39:27 2020 +0200 Simplifies test. commit 7a3085e Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Sep 28 18:37:59 2020 +0200 Adds validation of a composite tuple schema. commit 8bc5716 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Sep 28 15:02:50 2020 +0200 Adds TODOs. Extend benchmark tool (#259) * Extend benchmark tool * Switch to deps * Fix dependency format * Revert to original alignment * Make benchmark configurations unique * Reset config values Add documentation for the pull-api namespace (#257) * Add frame state diagram * Add pull-api documentation * Update format and add examples * Add introduction to document Uses throw instead of raise to avoid logging the exception which might be caught. Uses throw instead of raise to avoid logging the exception which might be caught. Add support for cljs and tests. Fixes formatting. Fix cljdoc documentation The documentation on cljdoc is broken because of multiple things 1. We switched to Clojure CLI tools and did not yet provide a backlink to the SCM repository so cljdoc can not get docs out of it. 2. Some parts of the api namespace do not render correctly. 3. A no doc tag is missing in a newly added namespace. Move config log and avoid password logging - Move the log because it gets logged multiple times currently - JDBC requires password configuration and this should not be logged - Closes #263 Fix the transaction debug logging Support walking through entities Fix the transaction debug logging Fixed a bug in the Datom's `entryAt` implementation Added the missing `.` in a constructor call. Added some unit tests for Datom's implementation. Added the implementation of IFn on Datoms. Allow `:db/retract` to be used without specifying a value (#241) `[:db/retract e a]` is not simply an alias for `[:db.fn/retractAttribute e a]` because the latter also retracts any referenced component attributes. Correct formatting and namespace definition of datom test ns Prepare release 0.3.3 Correct discord badge Move to release version 0.3.3 move to 0.3.4-SNAPSHOT Add predicate var binding check and test (#275) * Add check and test * Clean up Run benchmarks with lower logging level Add documentation on how to run tests Change unittest-script to enable --watch Remove versions badge because it no longer works Add tests and make functions public Fix formatting Add PullSpec constructors for tests Refactor integration tests Create FUNDING.yml Add benchmark to CI (#288) Export with txs and timed import with correct max-tx. Tests. Add standard deviations to benchmarks Revert "Add benchmark to CI (#288)" This reverts commit 5e42dd1. the foundation for the fix for #289. Adds timestamp to upsert operations so that they can be applied to the tree in creation time order. Fixes indentation. Fixes indentation. Temporarily refers to the hitchhiker tree library as a git sha. Adds an operation counter field to the db. Operations can be re-odered according to their creation time thanks to the counter. Extracts variable. Temporarily points to the needed branch for the hitchhiker-tree. Fixes formatting. Replaces '+ 1' by 'inc'. Fixes formatting. Removes the git sha dependency on hitchhiker-tree. Tries to solve dependency not being loaded with the correct version. Fixes hitchhiker-tree version in pom.xml. Add queries Fix string comparison Add documentation Add incanter to dev Fix format Small fixes Add Bay Area Meetup to linklist move to 0.3.7 snapshot Make work for queries with where clauses make work for queries without where clauses Enable pull Fix functions Fix lookup refs Fix formatting Small changes Add a backward compatibility test. Remove useless code. Fix formatting.
jsmassa
added a commit
that referenced
this issue
Jun 17, 2021
Debug files Clean ups Add documentation Apply CircleCI Orb to normalize CI With a centralized Orb it is possible to make it easier for people to implement CI themselves based on the examples. One only has to pick the necessary steps and it is good to go. Orbs do not help with a centralized workflow because there is no way to set a default workflow within an Orb so steps still have to be inserted manually into all the projects. Also the Orb version has to be manually adjusted in case there is a newer release but this is now set to use the latest major version, currently '0'. - Refers #167 - Renaming of scripts to run tests because of bad English cleanup code use correct tx for history upsert and purge add history upsert test extend purge-before test Add format checking to CI Now Datahike source code will be checked on every CI run and fails if there is a problem with formatting. The command to check it locally is `lein cljfmt check` or if it should be automatically formatted run `lein cljfmt fix`. - Closes #198 - Adding leiningen plugin cljfmt Format with cljfmt Add format checking to CI Now Datahike source code will be checked on every CI run and fails if there is a problem with formatting. The command to check it locally is `lein cljfmt check` or if it should be automatically formatted run `lein cljfmt fix`. - Closes #198 - Adding leiningen plugin cljfmt Update documentation - Closes #227 - Fixes documentation error in postgresql-configuration - Explains better the outsourced documentation to the backends - States the backend-template with a link Add time unit to documentation of small benchmarks add printer to historical databases add printer tests for historical dbs fix formatting use max-tx and max-eid instead of schema for printer adjust printer tests add test setup utils adjust pretty printing as well fix formatting add :db/ensure and :db.entity/attrs to system schema add entity spec for required attributes to the transactor add tests for required attributes with db/ensure adjust schema tests to new implicit-schema ignore calva files add :db.entity/preds to system schema add db.entity/predicates to the transactor add tests for entity predicates fix formatting again add entity spec docs fix time variance pr db tests add and retrieve hashes from stores add hashing tests fix purge and db hash fix formatting ADR build tooling add changelog, bump dependencies revert dependencies move to 0.3.3-SNAPSHOT Implement lazy sequence for transact The actual implementation is not complex since one can just feed a sequence to Datahike. It was just a matter of accepting this. The connector namespace is now a bit slimmer since I abstained from using a multimethod. Instead I am checking the input data in a simple cond. Adapted the api documentation to match Datomic so only a map with :tx-data as a key is allowed. Passing a vector or sequence is still working but not documented anymore. The examples from the documentation are added to the test.api namespace for testing if our API works. - Refers #196 - Closes #151 - Closes #78 Add query with string - Refers #196 - Add extended documentation for query - Add unit tests for api Adapt api to match Datomic and test examples - rename document heading because of layout - rename some arguments for better compatibility - change pull api to match Datomic - reformat docs for better layout - set no-doc for namespaces - set no-doc for transact! for compatibility - test all the api - Closes #196 Squashed commit of the following: commit 17efb9565392cf505128e21639113948762905b1 Author: Timo Kramer <fw-git@timokramer.de> Date: Mon Nov 9 12:48:10 2020 +0100 Fix seek-datoms error in api namespace commit 4e38d0f Author: Timo Kramer <fw-git@timokramer.de> Date: Fri Nov 6 16:04:50 2020 +0100 Add listen function to API commit ec3b084 Author: Timo Kramer <fw-git@timokramer.de> Date: Fri Nov 6 16:19:34 2020 +0100 Switch using core namespace to avoid logic in api namespace commit 99b825f Author: Timo Kramer <fw-git@timokramer.de> Date: Fri Oct 30 14:10:07 2020 +0100 Format fix commit 6601dc2 Author: Timo Kramer <fw-git@timokramer.de> Date: Fri Oct 30 09:24:49 2020 +0100 Add documentation about cljdoc and Datomic differences commit c71b9a6 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 28 19:18:47 2020 +0100 Add more tests for seek-datoms but failing Datoms function works with eavt index. Updated documentation for datoms. commit 6c910e7 Author: Timo Kramer <fw-git@timokramer.de> Date: Mon Oct 26 13:36:31 2020 +0100 Comment tests that need clarification on bugreport commit 07713ed Author: Timo Kramer <fw-git@timokramer.de> Date: Thu Oct 22 13:55:32 2020 +0200 Optimize formating commit 7db4c8d Author: Timo Kramer <fw-git@timokramer.de> Date: Thu Oct 22 13:03:42 2020 +0200 Add index-range api docs and tests commit 9f4249c Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 20:52:34 2020 +0200 Delete docstrings from core ns because duplicate with api ns commit 78ddfb7 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 17:42:21 2020 +0200 Corrected transact tests and documentation Covering tempids and transaction report in tests commit 3a1f96f Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 17:16:02 2020 +0200 Add history, since and as-of api tests and documentation commit 30e1c19 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 14:56:46 2020 +0200 Add seek-datoms api test commit 7183b96 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 21 14:14:11 2020 +0200 Add datoms api test commit 0301b11 Author: Timo Kramer <fw-git@timokramer.de> Date: Wed Oct 14 18:08:43 2020 +0200 Adapt api to match Datomic and test examples - rename document heading because of layout - rename some arguments for better compatibility - change pull api to match Datomic - reformat docs for better layout - set no-doc for namespaces - set no-doc for transact! for compatibility - test all the api - Refers #196 Switch to Clojure CLI tools This commit switches over the CI from leiningen to clojure cli tools. For that it introduces the file deps.edn and pom.xml that are needed for clojure cli tools to resolve dependencies and build the artifact. The project.clj is deleted. The CI is done by CircleCI and the old circle config is delete, but the config.yml in .circleci is updated to use the tools orb. The setup step is taken out of the orb and customized to use maven to compile the java source code. That step was not clear in the beginning and took me a while to figure out. - Introduce deps.edn and pom.xml - Delete project.clj - Update CI - Leave out all CLJS functionality for now - Adapt documentation - Closes #253 - With contributions by elMor3no and groundedSAGE update superv.async Correct tabs to spaces in config example Imports the hh-tree source code directly into this project so that it is easer to develop. Moves 'UpsertOp' from hh-tree namespace to datahike's namespace. Adds a first working version of upsert. Minor change: cleans up code. Minor change: renamings and indentation fixes. Adds more tests. Minor change: rephrase comment. Implements a big part of the solution towards upsert. Adds a comment. Adds a version that takes care of history. But it is not optimized as it has a 'db search' left. Adds a version that takes care of history. But it is not optimized as it has a 'db search' left. Minor change: removes println. Disables all printing. Restores commented out parts of history handling. When :avet, 'insert' should be used instead of 'upsert'. When history must be kept, we must use 'insert' in lieu of 'upsert'. Comments out printlns. An improvement that maintains the status quo: only 2 errors left. Yet another improvement that keeps the status quo: 2 errors left. Adds an improvement: one of the db-search has been removed. Now test failures goes up to 5 though. Removes all 'db search on the path'. There are still pblm though: 5 failures. A version which in theory should be equivalent to dev branch but still we get 7 failures. Uses a naive map walk in -apply-op-to-tree. Adds a version that uses subseq when we are at leafs of the tree. Also adds some other versions uses subseq and maps but they have bugs. Adds a comment. Adds the file used for benchmarking. Cleans up. Renames variables. Adds todo. Makes code a bit clearer. Refactors function. Refactors and replace (not (empty? x)) by (seq x). Updates the benchmarks. Fixes bug: was not removing old datom when on an index node. Minor changes. Renames variable and cleans up. Fixes bug: now handles the case where a deferred-op, on an index node, has to be applied. Adds a test. Fixes bug: temporal dbs were wrongly updated. Minor change: indentation. Fixes bug: removes not necessary code. Adds to history db datoms that were retracted. Removes deprecated comment. Fixes bugs: 1. inserting into the wrong tree, 2. wrongly throwing uniqueness exception. Cleans up. Code is ready for Pull Request. Removes file. Adds a todo. Removes comments. Removes dir which was used for development. Cleans up. Removes changes made for development only. Removes changes made for development only. Cleans up. Extracts function 'remove-old'. Refactors code so that db is passed as argument to upsert. Passes 'index-type' as argument to upsertOp. Stop trying to call 'upsert' on hh-tree, use 'enqueue' instead. Adds the hitchhiker tree source. Revert "Adds the hitchhiker tree source." This reverts commit 6e83f61. Revert "Passes 'index-type' as argument to upsertOp." This reverts commit 5981d52. Revert "Refactors code so that db is passed as argument to upsert." This reverts commit 32cc482. Removes deprecated comment. Adds 'temporal?' arg to 'upsert' function. Adds temporal upserts and it seems to work. Adapts test to upsert semantics. Implements temporal-upserts. Adds missing code to temporal-upserts implementation. Implements upsert for persistent-set. Fixes spaces. Fixes temporal-upsert for persistent-set. Fixes temporal-upsert for persistent-set. Stops calling 'upsert' on hh-tree as function has been removed. Use 'enqueue' instead. Don't store meta attributes into the temporal indexes. Fixes indentation. Fixes syntax error. Makes case expression more robust. Stops calling 'upsert' on hh-tree, use 'enqueue' instead. Exclude ':db/txInstant' only from temporal indices. Fixes bug about transaction time of old datoms following an upsert in the temporal trees. Fixes upsert for temporal indices. Stops using 'map' as argument to functions, uses 'kvs' instead. Fixes comment. Fixes purging history after changes due to upsert. The issue was caused by temporal indices also storing current datoms (due to the design change caused by the need to improve performance of 'upsert'). To fix the issue, we first had to remove the current datoms from the temporal ones and then apply the purge algo that was already used before 'upsert'. Simplifies function syntax. Uses take-while instead of filter. It should improve running time. Fixes syntax error and tests fix. Fixes serialization issue with upsert operations. Refactors code to move upsert related function into its own namespace. Fixes issues from previous refactoring. Fixes upsert serialization bug. Fixes deserializition of temporal-UpsertOp. Throws exception on unhandled cases. Fixes english. Stops storing a datom both in the key and the value of the tree (just keep the key). Stops storing a datom both in the key and the value of the tree (just keep the key). Minor change. Improves comment. Stops using a 'value' part in UpsertOp and TemporalUpsertOp. Merges from dev. Fixes tests: new upsert implementation no longer returns retracted datoms (i.e. the old datoms) in :tx-data. Fixes indentation. Reformat to fit clojure community Bump deps Fix mention of DataScript in docs Update pom.xml from deps.edn Implements tuples support. Squashed commit of the following: commit 81fb517 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Dec 4 18:58:11 2020 +0100 Fixes formatting. commit 1aea287 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Dec 4 18:45:13 2020 +0100 Fixes unique constraint issue in test. commit a899018 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Dec 4 18:04:56 2020 +0100 Fixes upsert tuples support. commit 5463c4f Merge: 6cae95a 3181bff Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Dec 4 16:55:42 2020 +0100 Merge branch 'development' into tuples commit 6cae95a Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Nov 12 15:34:05 2020 +0100 Fixes formatting of db.cljc. commit ab066ca Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:32:56 2020 +0100 Makes sure the type of an homogeneous tuple values is correct. commit 8c968d4 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:15:26 2020 +0100 Adds test names. commit 867b920 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:13:40 2020 +0100 Fixes test names. commit fbd2225 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:09:11 2020 +0100 Removes deprecated comment. commit d89a504 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 21:06:16 2020 +0100 Throws error if there is a mismatch between values and their types when transacting an heterogeneous tuple. commit 72f129e Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 20:29:28 2020 +0100 Throws error when heterogeneous tuple does not contain the right number of elements. commit e958a6f Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 20:28:23 2020 +0100 Removes useless code. commit 11c2ca6 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 19:35:16 2020 +0100 Throws error if homogeneous tuple values are fo different types. commit aa76d5e Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 19:00:18 2020 +0100 Makes naming more consistent. commit 7348d69 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 18:58:50 2020 +0100 Simplifies test. commit c2c93a7 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 18:54:57 2020 +0100 Throw error if homogeneous tuple contains more than 8 values. commit bb4eb4b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:40:18 2020 +0100 Adds a test. commit f297056 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:36:32 2020 +0100 Makes tests more consistent. commit ef59a19 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:30:17 2020 +0100 Improves comment. commit f6af389 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:18:35 2020 +0100 Cleans up test. commit 15e788b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:14:08 2020 +0100 Cleans up test. commit 9376c33 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 17:13:47 2020 +0100 Adds documentation. commit 141b0d8 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:54:53 2020 +0100 Cleans up test. commit 28f3fb8 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:52:16 2020 +0100 Cleans up test. commit b8503b3 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:43:21 2020 +0100 Adds tests. commit c729714 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:41:09 2020 +0100 Attempts to fix test. commit 9cbde8e Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:39:33 2020 +0100 Cleans up test. commit 2d0f914 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:38:08 2020 +0100 Cleans up test. commit bcda2b4 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 16:08:15 2020 +0100 Removes no longer needed code. commit 33508e0 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:46:43 2020 +0100 Removes testing code. commit 0a0036d Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:41:33 2020 +0100 Adds documentation to functions. commit 2aa6d9e Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:30:58 2020 +0100 Fixes wrong function name. commit c0ef7a9 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:25:09 2020 +0100 Fixes bug regarding composite tuples. commit abdb7ba Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:13:56 2020 +0100 Removes unconsistent test. commit 6e2df88 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:12:26 2020 +0100 Renames test. commit 45eeb4b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 15:12:12 2020 +0100 Fixes wrong schema declaration in test. commit 6aebd62 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Mon Nov 9 11:16:04 2020 +0100 Highlights TODOs. commit 693630d Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 18:26:49 2020 +0100 Adds another test against direct manipulation of tuples. commit 4e0e6d2 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 18:21:40 2020 +0100 Renames test. commit 5116771 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 18:20:17 2020 +0100 Test users don't set tuples directly and that tuples can be used as indices. commit dedab83 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 18:04:42 2020 +0100 Don't let user set tuples. commit 9b22207 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Nov 6 10:05:14 2020 +0100 Adds lookup-refs tests. commit 0619b08 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Nov 5 17:52:37 2020 +0100 Removes comments. commit b56569b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Nov 5 17:51:57 2020 +0100 Adds upsert tests for tuples. commit 0a98bdc Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Nov 5 17:05:08 2020 +0100 Adds uniqueness tests. commit 69d3f56 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Nov 3 16:26:22 2020 +0100 Adds functions 'tuple' and 'untuple' to queries. commit 7243bc6 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Nov 3 14:22:45 2020 +0100 Fixes bug comparing tuples to nil. commit 95f4c37 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Nov 3 11:30:15 2020 +0100 Adds more tests. commit 7b31c54 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 12:30:50 2020 +0100 Removes temporary helper code. commit 9f7396b Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 12:25:04 2020 +0100 Done fixing issues related to missing tuple entries in rschema. commit 0d2c378 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 10:48:02 2020 +0100 Minor change: removes comments. commit 89ce332 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 10:47:10 2020 +0100 Exploits the fact that :db.type/tuple is now working. commit c547f17 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Fri Oct 30 10:37:59 2020 +0100 Fixes rschema. It now includes an entry for ':db.type/tuple'. commit 7d8cb2c Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 29 15:39:51 2020 +0100 Adds a missing element to schema. commit 4c114e4 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 29 14:26:44 2020 +0100 Adds first version that transact a composite tuple on a simple test example. commit 5146472 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 29 10:27:09 2020 +0100 Intoroduces 'flush-tuples' function. commit 17980ce Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Wed Oct 28 16:55:41 2020 +0100 Adds temporary fix until schema is updated correctly. commit 154dcbb Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 22 12:14:50 2020 +0200 Fixes test. commit dc0abc1 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Thu Oct 22 11:33:03 2020 +0200 Starts handling tuples in 'transact-tx-data'. commit 9fd3d24 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Wed Oct 21 20:37:55 2020 +0200 Slowly integrates tuples implementation into transact-tx-data. commit 22d0691 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Wed Oct 21 20:08:49 2020 +0200 Adds temporary fixes (which must be taken care of later). commit efcd14c Author: chrislain <chrislain@chrislains-macbook-pro-13.home> Date: Tue Oct 20 17:50:20 2020 +0200 Adds the functionnality to queue tuples into a transaction report. commit 312cf2b Author: chrislain <chrislain@chrislains-macbook-pro-13.home> Date: Tue Oct 20 16:30:35 2020 +0200 Renames var. commit 29ebf0d Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Oct 19 17:32:50 2020 +0200 Sets schema to 'write' in tests. commit b9f80d3 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Oct 19 17:31:38 2020 +0200 Fixes comment. commit f06609a Author: chrislain <chrislain@chrislains-MacBook-Pro-13.local> Date: Fri Oct 16 20:33:58 2020 +0200 Got a long way towards the function that maps an attribute to all the tuples it is involved in. commit a7171d1 Author: chrislain <chrislain@chrislains-MacBook-Pro-13.local> Date: Fri Oct 16 16:13:17 2020 +0200 Adds skeleton for testing composite tuple transaction. commit 22cef58 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Thu Oct 15 17:13:51 2020 +0200 Adds and improves tests. commit fd535d0 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Fri Oct 9 16:04:58 2020 +0200 Saving and retrieving a vector works! commit df8b1c2 Merge: 079ba49 35e9710 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Fri Oct 9 15:52:50 2020 +0200 Merge branch 'development' into tuples commit 079ba49 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Thu Oct 1 15:44:24 2020 +0200 Fixes bad cut and paste. commit 25a58c8 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Thu Oct 1 10:02:52 2020 +0200 Finishes schema validation implementation for all kind of tuples. commit 4c455c4 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Wed Sep 30 17:17:10 2020 +0200 Implements schema validation for transaction of Homogeneours tuple (tupleType). commit 08ba3e0 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Wed Sep 30 13:50:50 2020 +0200 Towards improving tuples schema definition implementation. commit aabfb3c Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Sep 29 16:19:12 2020 +0200 Adds TODO: commit edabe75 Author: Chrislain Razafimahefa <razafima@gmail.com> Date: Tue Sep 29 16:17:25 2020 +0200 Validates schemas for the different type of tuples. commit 1101071 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Tue Sep 29 15:10:15 2020 +0200 Minor refactoring. commit e01599b Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Sep 28 18:39:27 2020 +0200 Simplifies test. commit 7a3085e Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Sep 28 18:37:59 2020 +0200 Adds validation of a composite tuple schema. commit 8bc5716 Author: chrislain <chrislain@chrislains-macbook-pro.home> Date: Mon Sep 28 15:02:50 2020 +0200 Adds TODOs. Extend benchmark tool (#259) * Extend benchmark tool * Switch to deps * Fix dependency format * Revert to original alignment * Make benchmark configurations unique * Reset config values Add documentation for the pull-api namespace (#257) * Add frame state diagram * Add pull-api documentation * Update format and add examples * Add introduction to document Uses throw instead of raise to avoid logging the exception which might be caught. Uses throw instead of raise to avoid logging the exception which might be caught. Add support for cljs and tests. Fixes formatting. Fix cljdoc documentation The documentation on cljdoc is broken because of multiple things 1. We switched to Clojure CLI tools and did not yet provide a backlink to the SCM repository so cljdoc can not get docs out of it. 2. Some parts of the api namespace do not render correctly. 3. A no doc tag is missing in a newly added namespace. Move config log and avoid password logging - Move the log because it gets logged multiple times currently - JDBC requires password configuration and this should not be logged - Closes #263 Fix the transaction debug logging Support walking through entities Fix the transaction debug logging Fixed a bug in the Datom's `entryAt` implementation Added the missing `.` in a constructor call. Added some unit tests for Datom's implementation. Added the implementation of IFn on Datoms. Allow `:db/retract` to be used without specifying a value (#241) `[:db/retract e a]` is not simply an alias for `[:db.fn/retractAttribute e a]` because the latter also retracts any referenced component attributes. Correct formatting and namespace definition of datom test ns Prepare release 0.3.3 Correct discord badge Move to release version 0.3.3 move to 0.3.4-SNAPSHOT Add predicate var binding check and test (#275) * Add check and test * Clean up Run benchmarks with lower logging level Add documentation on how to run tests Change unittest-script to enable --watch Remove versions badge because it no longer works Add tests and make functions public Fix formatting Add PullSpec constructors for tests Refactor integration tests Create FUNDING.yml Add benchmark to CI (#288) Export with txs and timed import with correct max-tx. Tests. Add standard deviations to benchmarks Revert "Add benchmark to CI (#288)" This reverts commit 5e42dd1. the foundation for the fix for #289. Adds timestamp to upsert operations so that they can be applied to the tree in creation time order. Fixes indentation. Fixes indentation. Temporarily refers to the hitchhiker tree library as a git sha. Adds an operation counter field to the db. Operations can be re-odered according to their creation time thanks to the counter. Extracts variable. Temporarily points to the needed branch for the hitchhiker-tree. Fixes formatting. Replaces '+ 1' by 'inc'. Fixes formatting. Removes the git sha dependency on hitchhiker-tree. Tries to solve dependency not being loaded with the correct version. Fixes hitchhiker-tree version in pom.xml. Add queries Fix string comparison Add documentation Add incanter to dev Fix format Small fixes Add Bay Area Meetup to linklist move to 0.3.7 snapshot Make work for queries with where clauses make work for queries without where clauses Enable pull Fix functions Fix lookup refs Fix formatting Small changes Add a backward compatibility test. Remove useless code. Fix formatting. Add comparators for all data types Fix formatting
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
refer to API docs
The text was updated successfully, but these errors were encountered: