memgraph/tests/unit
Jure Bajic 3f4f66b57f
Create schema DDL expressions
* Add initial schema implementation

* Add index to schema

* List schemas and enable multiple properties

* Implement SchemaTypes

* Apply suggestions from code review

Co-authored-by: Jeremy B <97525434+42jeremy@users.noreply.github.com>
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>

* Address review comments

* Remove Map and List

* Add schema operations in storage

* Add create and show schema queries

* Add privileges for schema

* Add missing keywords into lexer

* Add drop schema query

* Add schema visitors

* Update metadata

* Add PrepareSchemaQuery function

* Implement show schemas

* Add show schema query

* Fix schema visitor

* Add common schema type

* Fix grammar

* Temporary create ddl logic

* Fix naming for schemaproperty type to schema type

* Rename schemaproperty to schemapropertytype

* Enable Create schema ddl

* Override visitPropertyType

* Add initial schema implementation

* Add initial schema implementation

* Add index to schema

* List schemas and enable multiple properties

* Implement SchemaTypes

* Apply suggestions from code review

Co-authored-by: Jeremy B <97525434+42jeremy@users.noreply.github.com>
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>

* Address review comments

* Remove Map and List

* Apply suggestions from code review

Co-authored-by: Kostas Kyrimis  <kostaskyrim@gmail.com>

Co-authored-by: Jeremy B <97525434+42jeremy@users.noreply.github.com>
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
Co-authored-by: Kostas Kyrimis  <kostaskyrim@gmail.com>

* Add verification on creation and deletion

* Rename DeleteSchema to DropSchema

* Remove list and map from lexer

* Fix grammar with schemaTypeMap

* Add privilege and cypher visitor tests

* Catch repeating type name in schema definition

* Fix conflicting keywords

* Add notifications

* Drop float support

* Finish interpreter tests

* Fix tests

* Fix clang tidy errors

* Fix GetSchema

* Replace for with transfrom

* Add cloning og schema_property_map

* Address review comments

* Rename SchemaPropertyType to SchemaType

* Remove inline

* Assert of schema properties

Co-authored-by: Jeremy B <97525434+42jeremy@users.noreply.github.com>
Co-authored-by: János Benjamin Antal <antaljanosbenjamin@users.noreply.github.com>
Co-authored-by: Kostas Kyrimis  <kostaskyrim@gmail.com>
2022-07-11 09:20:15 +02:00
..
auth.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
bfs_common.hpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
bfs_single_node.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
bolt_chunked_decoder_buffer.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
bolt_chunked_encoder_buffer.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
bolt_common.hpp Add license to cpp/hpp/py test files (#283) 2021-10-26 08:53:56 +02:00
bolt_decoder.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
bolt_encoder.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
bolt_session.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
bolt_testdata.hpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
CMakeLists.txt Copy storage v2 to create storage v3 (#416) 2022-07-05 08:20:59 +02:00
commit_log_v2.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
communication_buffer.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
cypher_main_visitor.cpp Create schema DDL expressions 2022-07-11 09:20:15 +02:00
formatters.hpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
integrations_kafka_consumer.cpp Add limit batches option to start stream query (#392) 2022-06-20 15:09:45 +03:00
interpreter.cpp Create schema DDL expressions 2022-07-11 09:20:15 +02:00
kafka_mock.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
kafka_mock.hpp Add license to cpp/hpp/py test files (#283) 2021-10-26 08:53:56 +02:00
kvstore.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
main.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
metrics.cpp Add license to cpp/hpp/py test files (#283) 2021-10-26 08:53:56 +02:00
mgp_kafka_c_api.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
mgp_trans_c_api.cpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
network_endpoint.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
network_timeouts.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
network_utils.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
plan_pretty_print.cpp Implement foreach clause (#351) 2022-04-11 13:55:34 +03:00
property_value_v2.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_common.hpp Implement foreach clause (#351) 2022-04-11 13:55:34 +03:00
query_cost_estimator.cpp Implement foreach clause (#351) 2022-04-11 13:55:34 +03:00
query_dump.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_expression_evaluator.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_function_mgp_module.cpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
query_plan_accumulate_aggregate.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_plan_bag_semantics.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_plan_checker.hpp Implement foreach clause (#351) 2022-04-11 13:55:34 +03:00
query_plan_common.hpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_plan_create_set_remove_delete.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_plan_edge_cases.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_plan_match_filter_return.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_plan_read_write_typecheck.cpp Implement foreach clause (#351) 2022-04-11 13:55:34 +03:00
query_plan_v2_create_set_remove_delete.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_plan.cpp Implement foreach clause (#351) 2022-04-11 13:55:34 +03:00
query_pretty_print.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_procedure_mgp_module.cpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
query_procedure_mgp_type.cpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
query_procedure_py_module.cpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
query_procedures_mgp_graph.cpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
query_profile.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_required_privileges.cpp Create schema DDL expressions 2022-07-11 09:20:15 +02:00
query_semantic.cpp Implement foreach clause (#351) 2022-04-11 13:55:34 +03:00
query_serialization_property_value.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_streams.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
query_trigger.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
query_variable_start_planner.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
ring_buffer.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
rpc_messages.hpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
rpc.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
skip_list.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
slk_advanced.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
slk_common.hpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
slk_core.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
slk_streams.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
small_vector.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
socket.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_test_utils.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_test_utils.hpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v2_constraints.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v2_decoder_encoder.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v2_durability.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v2_edge.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v2_gc.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v2_indices.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v2_isolation_level.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
storage_v2_name_id_mapper.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v2_property_store.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v2_replication.cpp Forbid two replicas to point to the same ip port (#406) 2022-06-20 17:10:20 +03:00
storage_v2_wal_file.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v2.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
storage_v3.cpp Copy storage v2 to create storage v3 (#416) 2022-07-05 08:20:59 +02:00
stripped.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
test_lcp.lisp LCP: Small test fixes 2019-05-10 16:10:17 +02:00
test_utils.hpp Making mgp_error enum class when compiling c++. Remains enum when com… (#389) 2022-05-05 17:48:17 +02:00
typed_value.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_algorithm.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_async_timer.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
utils_csv_parsing.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_exceptions.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_file_locker.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
utils_file.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
utils_license.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_math.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_memory_tracker.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
utils_memory.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
utils_on_scope_exit.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_rwlock.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_scheduler.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_settings.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_signals.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_string.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_synchronized.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
utils_temporal.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
utils_thread_pool.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00
utils_timestamp.cpp Add memgraph namespace 2022-03-14 15:47:41 +01:00
websocket.cpp Fix usages of constexpr (#367) 2022-03-31 13:52:43 +02:00