Skip to content

Commit

Permalink
Update _2gis_partition_magic_test.sql
Browse files Browse the repository at this point in the history
  • Loading branch information
Vidog committed Mar 26, 2015
1 parent 2d17494 commit fec1a8e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions _2gis_partition_magic_test.sql
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,3 @@ SELECT COUNT(*) FROM test_table_3;
SELECT COUNT(*) FROM test_table_4;

SELECT * FROM ONLY test_table;

SELECT id & (pow(2, 32)-1)::bigint as real_id, id >> 47 as real_project_id, * FROM test_table;

UPDATE test_table SET value = 'Item New Value 1' WHERE id = 140737488355329;

SELECT * FROM test_table WHERE id = 140737488355329;

UPDATE test_table SET value = 'Item Newest Value 1' WHERE id = 140737488355329 AND project_id = 140737488355329 >> 47;

SELECT * FROM test_table WHERE id = 140737488355329 AND project_id = 140737488355329 >> 47;

0 comments on commit fec1a8e

Please sign in to comment.