Search found 10 matches
- Tue Mar 10, 2015 6:55 am
- Forum: New to Vertica Database Administration
- Topic: Leap Second 2015
- Replies: 1
- Views: 5746
Leap Second 2015
Team, A leap second will be added on June 30, 2015 23:59:60 UTC. A leap second is a second which is added to Coordinated Universal Time (UTC) in order to synchronize atomic clocks with astronomical time to within 0.9 seconds. The last leap second was added at 23:59:60 UTC on June 30, 2012. More info...
- Wed Sep 03, 2014 11:46 am
- Forum: Vertica SQL
- Topic: SQL query to retrieve all days of the previous month
- Replies: 1
- Views: 6174
SQL query to retrieve all days of the previous month
Guys,
Could someone help me with SQL query to retrieve all days of the previous month?
Regards,
Bugs.
Could someone help me with SQL query to retrieve all days of the previous month?
Regards,
Bugs.
- Tue Aug 19, 2014 7:13 am
- Forum: Vertica Database Administration
- Topic: Table Reorganize failed on one of the projections.
- Replies: 2
- Views: 6551
Re: Table Reorganize failed on one of the projections.
dbadmin=> SELECT COUNT( DISTINCT PARTITION_KEY) FROM PARTITIONS WHERE table_schema='XXX' AND PROJECTION_NAME LIKE '%CALL_DETAIL%';
COUNT
-------
111
(1 row)
It's 111.
Regards,
Bhagat
COUNT
-------
111
(1 row)
It's 111.
Regards,
Bhagat
- Fri Aug 15, 2014 6:36 am
- Forum: Vertica Database Administration
- Topic: Table Reorganize failed on one of the projections.
- Replies: 2
- Views: 6551
Table Reorganize failed on one of the projections.
Guys, We've altered the partition granularity of one of our tables to Daily, which was earlier partitioned by month. The reorganization of the table post the partition alteration failed on one of the projections. The results of the SQL below shows the operation_status as "ABORTED" for the projection...
- Wed Jun 25, 2014 10:16 am
- Forum: Vertica Database Development
- Topic: COPY statement abort
- Replies: 2
- Views: 19130
COPY statement abort
Guys, Could you please advise the way around to cause the COPY statement to reject the record instead of aborting it. CREATE TABLE XXX_VOIP_DB_STAGE.TEMP (DATETIME TIMESTAMP); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COPY XXX_VOIP_DB_STAGE.TEMP ( TIME FILLER VARCHAR(10240) ,DATETIME AS TO_T...
- Mon May 12, 2014 8:47 am
- Forum: Vertica SQL
- Topic: ERROR 2559: Cannot use subquery in expressions within COPY
- Replies: 1
- Views: 4871
ERROR 2559: Cannot use subquery in expressions within COPY
Guys,
Could someone please suggest a resolution for the COPY statement error below:
ERROR 2559: Cannot use subquery in expressions within COPY
The problematic line in question is below:
COPY...
,NE_VERSION AS (SELECT NE_VERSION FROM <lookup table> WHERE EMS_NAME = 'xxx')
Regards,
Bugs.
Could someone please suggest a resolution for the COPY statement error below:
ERROR 2559: Cannot use subquery in expressions within COPY
The problematic line in question is below:
COPY...
,NE_VERSION AS (SELECT NE_VERSION FROM <lookup table> WHERE EMS_NAME = 'xxx')
Regards,
Bugs.
- Wed May 07, 2014 3:54 am
- Forum: New to Vertica SQL
- Topic: TO_TIMESTAMP_TZ..AT TIME ZONE 'UTC' - Issue.
- Replies: 6
- Views: 12917
TO_TIMESTAMP_TZ..AT TIME ZONE 'UTC' - Issue.
select TO_TIMESTAMP_TZ('20131714001400','YYYYMMDDHH24MISS') AT TIME ZONE 'UTC'; timezone --------------------- 2014-05-16 07:14:00 (1 row) Could someone advise as to why Vertica is not failing as the Date is invalid ? "MM" component value is 17, however Vertica still transforms it to an inexplicable...