- 02 4月, 2016 6 次提交
-
-
由 Haozhou Wang 提交于
Looks it falls back to legacy optimizer when running regression, hence we temporally comment out three tests and create a story on pivotaltracker #116312671 to solve it later. -- comment out two tests in domain.sql -- comment out one test in qp_misc_jiras.sql Thanks to Venkatesh Raghavan for helping
-
由 Haozhou Wang 提交于
Backport below commits from upstream: commit 31edbadf Author: Tom Lane <tgl@sss.pgh.pa.us> Date: Tue Jun 5 21:31:09 2007 +0000 Downgrade implicit casts to text to be assignment-only, except for the ones from the other string-category types; this eliminates a lot of surprising interpretations that the parser could formerly make when there was no directly applicable operator. Create a general mechanism that supports casts to and from the standard string types (text,varchar,bpchar) for *every* datatype, by invoking the datatype's I/O functions. These new casts are assignment-only in the to-string direction, explicit-only in the other, and therefore should create no surprising behavior. Remove a bunch of thereby-obsoleted datatype-specific casting functions. The "general mechanism" is a new expression node type CoerceViaIO that can actually convert between *any* two datatypes if their external text representations are compatible. This is more general than needed for the immediate feature, but might be useful in plpgsql or other places in future. This commit does nothing about the issue that applying the concatenation operator || to non-text types will now fail, often with strange error messages due to misinterpreting the operator as array concatenation. Since it often (not always) worked before, we should either make it succeed or at least give a more user-friendly error; but details are still under debate. Peter Eisentraut and Tom Lane commit bf940763 Author: Tom Lane <tgl@sss.pgh.pa.us> Date: Tue Mar 27 23:21:12 2007 +0000 Fix array coercion expressions to ensure that the correct volatility is seen by code inspecting the expression. The best way to do this seems to be to drop the original representation as a function invocation, and instead make a special expression node type that represents applying the element-type coercion function to each array element. In this way the element function is exposed and will be checked for volatility. Per report from Guillaume Smet.
-
由 Foyzur Rahman 提交于
Adding test changes in alter_table_optimizer.out for fixing tuple descriptor leak in split_rows during an ALTER TABLE SPLIT PARTITION.
-
由 Foyzur Rahman 提交于
-
由 Nikhil Kak 提交于
-
由 Nikhil Kak 提交于
-
- 01 4月, 2016 3 次提交
-
-
由 Daniel Gustafsson 提交于
The function updateAppendOnlyStats() was removed in 3fb6ca82 but the prototype remained.
-
由 Xin Zhang 提交于
Signed-off-by: NXin Zhang <xzhang@pivotal.io>
-
由 Jimmy Yih 提交于
The gp_default_storage_options GUC had two scenarios in which the value between master and segments could be conflicting which would cause tables to possibly have different storage parameters between master and segments. First Scenario: The below gpconfig example would give newly created user tables a default storage parameter of AO on segments while master sets the table as heap. Fixed by not allowing the user to make them different values. gpconfig -c gp_default_storage_options -v "'appendonly=true'" -m "'appendonly=false'" Second Scenario: During a psql session not in transaction, a session-level gp_default_storage_options GUC value can be set which will also be dispatched to segment processes. Those segment processes when idle for a period of time will be stopped and the next SQL (e.g. CREATE TABLE) will spawn new segment processes which will not have the session-level GUC value set. Fixed by setting the value at cdbgang creation.
-
- 31 3月, 2016 7 次提交
-
-
由 Jasper 提交于
-
由 Daniel Gustafsson 提交于
The new option spells out fully_qualified_domain_name since fqdn is such a mouthful of an abbreviation. In order to retrieve the fqdn or hostname in a portable manner the Python socket module seems the best bet. It also avoids the overhead of opening a command interpreter and pipe to get the information.
-
由 Daniel Gustafsson 提交于
We already had a mostly up to date list in the directory specific .gitignore files but the toplevel .gitignore contained a *.out which took precedence (lower level files override higher level files so removing *.out will allow for the src/test/regress/* files to override the now removed .out file blocking). The reason for not ignoring *.out is that we have quite a few tracked .out files in the repository which we don't want to ignore changes to. Also update the files to match the current set of tests since there were a few missing.
-
由 Andreas Scherbaum 提交于
Fixing the issue #482 with missing pg_proc references to the array manipulation functions. This PR also back ports the regression tests for arrays from PG 8.4
-
由 Daniel Gustafsson 提交于
The use of non-breaking space and horizontal ellipsis in the docs cause problems for the generated docs in psql, replace with counter- parts in the printable characters set. This fixes the "illegal character encoding in string literal" warning from clang.
-
由 Pengcheng Tang 提交于
Due to the support of special characters, we made some changes in the format of appendonly tables' state file, which inevitably create extra tables into the dirty table lists for incremental backup.
-
由 Pengcheng Tang 提交于
Use the "template1" instead of the restoring database for connection url Authors: Pengcheng Tang, Christopher Hajas
-
- 30 3月, 2016 1 次提交
-
-
由 Omer Arap 提交于
- targeted_dispatch
-
- 29 3月, 2016 2 次提交
-
-
由 Marbin Tan 提交于
If gpfdist is built with ssl and does not use --ssl it will now print the correct message. Authors: Marbin Tan & Larry Hamel
-
由 Marbin Tan 提交于
-
- 28 3月, 2016 4 次提交
-
-
由 Kenan Yao 提交于
the cleanup of EState
-
由 Ed Espino 提交于
Below is the error condition that was being filtered by the cdbfast test framework. I have added an ignore section around the update that is expected to fail in the planner scenario. *** ./expected/DML_over_joins.out2016-03-27 16:44:49.000000000 -0700 --- ./results/DML_over_joins.out2016-03-27 16:44:49.000000000 -0700 *************** *** 1342,1348 **** (2 rows) update sales_par set region = 'new_region' where id in (select s.b from s, r where s.a = r.b) and day in (select a from r); ! ERROR: moving tuple from partition "sales_par_1_prt_usa" to partition "sales_par_1_prt_other_regions" not supported select sales_par.* from sales_par where id in (select s.b from s, r where s.a = r.b) and day in (select a from r); id | year | month | day | region ----+------+-------+-----+-------- --- 1342,1348 ---- (2 rows) update sales_par set region = 'new_region' where id in (select s.b from s, r where s.a = r.b) and day in (select a from r); ! ERROR: moving tuple from partition "sales_par_1_prt_europe" to partition "sales_par_1_prt_other_regions" not supported select sales_par.* from sales_par where id in (select s.b from s, r where s.a = r.b) and day in (select a from r); id | year | month | day | region ----+------+-------+-----+-------- ======================================================================
-
由 Ed Espino 提交于
This enhances the existing "sirv_functions" ICG tests. This is accomplished by migrating the cdbfast regression "list_queries" test schedule's "sirv_functions" test suite to ICG. Here are some characteristics of the test suite: Schedule file: greenplum_schedule Schema: sirv_functions Set to run in parallel: yes Orca specific test output: no Test execution time: <1 minute Pivotal Tracker Story: #113967799
-
由 Ed Espino 提交于
Migrate the cdbfast "list_queries" test schedule "DML_over_joins" to ICG. Here are some characteristics of the test suite: Schedule file: greenplum_schedule Schema: DML_over_joins Set to run in parallel: yes Orca specific test output: yes Test execution time: <1 minute Pivotal Tracker Story: #113967799
-
- 26 3月, 2016 2 次提交
-
-
由 Pengcheng Tang 提交于
gpdbrestore now performs pre validation of tables (also partition tables) in the dump file, this fix applies to ddboost, netbackup, and other remote dump location. Also made some refactoring of the code. Authors: Pengcheng Tang, Nikhil Kak, Lawrence Hamel, Marbin Victor Tan
-
This closes #570
-
- 25 3月, 2016 5 次提交
-
-
由 Haozhou Wang 提交于
- unify source-code of #518 commit according to upstream - add regression tests (previously stored in TINC) - fix parameter type of the function AddNewRelationType() Thanks to Heikki Linnakangas for suggesting
-
由 Shreedhar Hardikar 提交于
Squashed commit of the following: commit db752c0c916f36479b0c5049c671538565294c25 Author: Nikos Armenatzoglou <narmenatzoglou@gmail.com> Date: Thu Mar 24 14:01:38 2016 -0700 Adding check to avoid unit test failures when sizeof(long) = 8 commit 1c39c58279cf73af92811ed1b2e6f2bc22d01414 Author: Shreedhar Hardikar <shardikar@pivotal.io> Date: Thu Mar 17 19:42:47 2016 +0000 --with-codegen-prefix instead of CMAKE_PREFIX_PATH commit 77978e92444580bc4e84dc3f6b3e366a09e92dba Author: Shreedhar Hardikar <shardikar@pivotal.io> Date: Thu Mar 10 14:57:48 2016 +0000 Make codegen work with GPDB build system and other minor fixes * Update CMakeLists to build SUBSYS.o * Update CMakeLists to build release build by default * Update CMakeLists to add tests in a loop. * Add codegen and cmake specific .gitignore * Update license and READMEs * Move codegen utils related header files back into src/backend/codegen/include/codegen Signed-off-by: NNikos Armenatzoglou <nikos.armenatzoglou@gmail.com> commit 1b61c12f4eb082f49a66c28957c22810e98a5074 Author: Shreedhar Hardikar <shardikar@pivotal.io> Date: Wed Mar 16 21:06:28 2016 +0000 Remove codegen specific gtest source tree and use the one in gpAux. Signed-off-by: NNikos Armenatzoglou <nikos.armenatzoglou@gmail.com> commit 13bb2dcf3465be0ef240e316a149b2d8a125a9e9 Author: Shreedhar Hardikar <shardikar@pivotal.io> Date: Thu Mar 10 02:51:29 2016 +0000 Set up GPDB to use codegen utilities * Move in codegen utility source and include files to GPDB specific locations. * Configure codegen with --enable-codegen and use gpcodegen namespace Signed-off-by: NNikos Armenatzoglou <nikos.armenatzoglou@gmail.com> commit 9a4e40f931f71cb7a82e15b51745944116bc10ab Author: Craig Chasseur <spoonboy42@gmail.com> Date: Mon Nov 2 09:10:37 2015 -0800 Introduce codegen utilties into GPDB. Support library for integrating LLVM code-generation and runtime compilation with Clang in a larger codebase. Signed-off-by: NNikos Armenatzoglou <nikos.armenatzoglou@gmail.com>
-
由 Atri Sharma 提交于
Change behaviour to use default estimates for relation size for cases when no statistics are available. This avoid having heavy statstistics computation as part of query compilation. Customer can explicitly using ANALYZE to compute the stats before running queries to use more accurate stats instead of default statistics. Currently, the default size of table is: - Internal table: 100 pages - External table: 1000 pages Signed-off-by: NXin Zhang <xzhang@pivotal.io>
-
由 Ashwin Agrawal 提交于
Currently, when relation open fails it emits error message which is very dev centric plus stack trace gets printed. The message and behavior is confusing as more hints towards some catastrophic problem. While its more legitimate due to concurrency so best to communicate the same, plus avoid printing stacktrace.
-
由 Jimmy Yih 提交于
This commit adds more filespace and tablespace test coverage in installcheck. Most of these test additions are modified and inspired from Pivotal's own internal tests.
-
- 24 3月, 2016 5 次提交
-
-
由 Pengzhou Tang 提交于
Codes of ic_tcp and ic_udp are not maintained any more, ic_udpifc is the only interconnect type for now. We keep the gp_interconnect_type guc for backward compatibility.
-
由 Adam Lee 提交于
Type name is a fixed-length string padded by '\0', normal(wrong) renaming will make cdbhash() getting different values.
-
由 Ed Espino 提交于
-
由 Jacob Frank 提交于
Signed-off-by: NXin Zhang <xzhang@pivotal.io>
-
由 Ed Espino 提交于
-
- 23 3月, 2016 5 次提交
-
-
由 Daniel Gustafsson 提交于
It seems that the install target for gpAux/extensions which in turn invoke gpmapreduce installation fell away in the rebase and didn't make it in the final commit. Re-adding it such that `make install` also handles gpmapreduce. Thanks to Xin Zhang for reporting.
-
由 Omer Arap 提交于
- change the path to abs_srcdir
-
由 Nikos Armenatzoglou 提交于
-
由 Omer Arap 提交于
-
由 Nikos Armenatzoglou 提交于
-