blob_id
stringlengths 40
40
| directory_id
stringlengths 40
40
| path
stringlengths 3
616
| content_id
stringlengths 40
40
| detected_licenses
sequencelengths 0
112
| license_type
stringclasses 2
values | repo_name
stringlengths 5
115
| snapshot_id
stringlengths 40
40
| revision_id
stringlengths 40
40
| branch_name
stringclasses 777
values | visit_date
timestamp[us]date 2015-08-06 10:31:46
2023-09-06 10:44:38
| revision_date
timestamp[us]date 1970-01-01 02:38:32
2037-05-03 13:00:00
| committer_date
timestamp[us]date 1970-01-01 02:38:32
2023-09-06 01:08:06
| github_id
int64 4.92k
681M
⌀ | star_events_count
int64 0
209k
| fork_events_count
int64 0
110k
| gha_license_id
stringclasses 22
values | gha_event_created_at
timestamp[us]date 2012-06-04 01:52:49
2023-09-14 21:59:50
⌀ | gha_created_at
timestamp[us]date 2008-05-22 07:58:19
2023-08-21 12:35:19
⌀ | gha_language
stringclasses 149
values | src_encoding
stringclasses 26
values | language
stringclasses 1
value | is_vendor
bool 2
classes | is_generated
bool 2
classes | length_bytes
int64 3
10.2M
| extension
stringclasses 188
values | content
stringlengths 3
10.2M
| authors
sequencelengths 1
1
| author_id
stringlengths 1
132
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
70ffe5314419bb5044b3a9f8f244447a6aad5a93 | c1267fbec95318184e7388cddf9b7085f797d514 | /2023/05 May/db05232023.py | 5dc2d55800b8a6bd5a3a2bcf895e58b5ac20691d | [
"MIT"
] | permissive | vishrutkmr7/DailyPracticeProblemsDIP | 1aedfd2e173847bf22989a6b0ec550acebb2bd86 | 2c365f633a1e1bee281fbdc314969f03b17ac9ec | refs/heads/master | 2023-05-31T23:49:52.135349 | 2023-05-28T09:32:12 | 2023-05-28T09:32:12 | 199,596,248 | 10 | 4 | MIT | 2022-11-02T21:31:59 | 2019-07-30T07:12:46 | Python | UTF-8 | Python | false | false | 1,310 | py | """
You are on the command line of a computer in the root directory and given a list of commands to run.
The commands consist of three possible operations, ../ which brings you to the parent directory (or
nowhere if you’re already in the root directory), ./ which keeps you in the current directory, and
directory_name/ which moves you to a new directory with the specified name (these named directories
are guaranteed to always exist). After running all the commands, return the amount of commands
required to bring you back to the root directory.
Note: The commands must be run in the order they appear in commands.
Ex: Given the following commands…
commands = ["a/", "b/"], return 2 (we've gone two directories deeper, so we must go backwards
two directories which requires 2 commands).
Ex: Given the following commands…
commands = ["a/", "../"], return 0.
"""
class Solution:
def minOperations(self, commands):
count = 0
for command in commands:
if command == "../":
count -= 1
elif command == "./":
continue
else:
count += 1
return count
# Test Cases
if __name__ == "__main__":
s = Solution()
print(s.minOperations(["a/", "b/"]))
print(s.minOperations(["a/", "../"]))
| [
"[email protected]"
] | |
a87207e9eff593413fc1fe99434da4f68da15b15 | 025abc9e70eb347e688a90bdf3030db120e8824b | /python_script/test_rolling_sphere.py | c4f43ab61ff56c9f2f8b47da5e867ab321a5335b | [
"BSD-3-Clause"
] | permissive | listenzcc/3D_model_matlab | 6953a2ebbb55373a749aebc5101166e327c45cb5 | 2dcaf50a51cf02591737aaa6b4924ed3848f1840 | refs/heads/master | 2020-04-24T02:34:58.093612 | 2019-05-28T04:05:29 | 2019-05-28T04:05:29 | 171,641,961 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,090 | py | # code: utf-8
from mpl_toolkits.mplot3d import proj3d
from matplotlib import animation
import matplotlib.pyplot as plt
import numpy as np
fig = plt.figure()
ax = fig.gca(projection='3d')
ax.set_aspect("equal")
# draw sphere
def init():
u, v = np.mgrid[0:2*np.pi:20j, 0:np.pi:10j]
x = np.cos(u)*np.sin(v)
y = np.sin(u)*np.sin(v)
z = np.cos(v)
sphere = ax.plot_wireframe(x, y, z, color="r")
sphere.__setattr__('target', 1)
return sphere
def is_target(x, t='target'):
return hasattr(x, t)
def animate(i):
u, v = np.mgrid[0:2*np.pi:20j, 0:np.pi:10j]
u += i*5
x = np.cos(u)*np.sin(v)
y = np.sin(u)*np.sin(v)
z = np.cos(v)
ax.findobj(is_target)[0].remove()
sphere = ax.plot_wireframe(x, y, z, color="r")
sphere.__setattr__('target', 1)
return sphere
ani = animation.FuncAnimation(fig=fig,
func=animate,
frames=100,
init_func=init,
interval=20,
blit=False)
plt.show()
| [
"[email protected]"
] | |
3eb0059440e55929683569010648a2bfee9d1a04 | 9ae6ce54bf9a2a86201961fdbd5e7b0ec913ff56 | /google/ads/googleads/v9/services/services/campaign_criterion_simulation_service/transports/base.py | aa5d97f44787ec6884d649ce8947e8a4c96799a0 | [
"Apache-2.0"
] | permissive | GerhardusM/google-ads-python | 73b275a06e5401e6b951a6cd99af98c247e34aa3 | 676ac5fcb5bec0d9b5897f4c950049dac5647555 | refs/heads/master | 2022-07-06T19:05:50.932553 | 2022-06-17T20:41:17 | 2022-06-17T20:41:17 | 207,535,443 | 0 | 0 | Apache-2.0 | 2019-09-10T10:58:55 | 2019-09-10T10:58:55 | null | UTF-8 | Python | false | false | 4,107 | py | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
import abc
import typing
import pkg_resources
import google.auth # type: ignore
from google.api_core import gapic_v1
from google.auth import credentials as ga_credentials # type: ignore
from google.ads.googleads.v9.resources.types import (
campaign_criterion_simulation,
)
from google.ads.googleads.v9.services.types import (
campaign_criterion_simulation_service,
)
try:
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo(
gapic_version=pkg_resources.get_distribution("google-ads",).version,
)
except pkg_resources.DistributionNotFound:
DEFAULT_CLIENT_INFO = gapic_v1.client_info.ClientInfo()
class CampaignCriterionSimulationServiceTransport(metaclass=abc.ABCMeta):
"""Abstract transport class for CampaignCriterionSimulationService."""
AUTH_SCOPES = ("https://www.googleapis.com/auth/adwords",)
def __init__(
self,
*,
host: str = "googleads.googleapis.com",
credentials: ga_credentials.Credentials = None,
client_info: gapic_v1.client_info.ClientInfo = DEFAULT_CLIENT_INFO,
) -> None:
"""Instantiate the transport.
Args:
host (Optional[str]):
The hostname to connect to.
credentials (Optional[google.auth.credentials.Credentials]): The
authorization credentials to attach to requests. These
credentials identify the application to the service; if none
are specified, the client will attempt to ascertain the
credentials from the environment.
client_info (google.api_core.gapic_v1.client_info.ClientInfo):
The client info used to send a user-agent string along with
API requests. If ``None``, then default info will be used.
Generally, you only need to set this if you're developing
your own client library.
"""
# Save the hostname. Default to port 443 (HTTPS) if none is specified.
if ":" not in host:
host += ":443"
self._host = host
# If no credentials are provided, then determine the appropriate
# defaults.
if credentials is None:
credentials, _ = google.auth.default(scopes=self.AUTH_SCOPES)
# Save the credentials.
self._credentials = credentials
# Lifted into its own function so it can be stubbed out during tests.
self._prep_wrapped_messages(client_info)
def _prep_wrapped_messages(self, client_info):
# Precomputed wrapped methods
self._wrapped_methods = {
self.get_campaign_criterion_simulation: gapic_v1.method.wrap_method(
self.get_campaign_criterion_simulation,
default_timeout=None,
client_info=client_info,
),
}
def close(self):
"""Closes resources associated with the transport.
.. warning::
Only call this method if the transport is NOT shared
with other clients - this may cause errors in other clients!
"""
raise NotImplementedError()
@property
def get_campaign_criterion_simulation(
self,
) -> typing.Callable[
[
campaign_criterion_simulation_service.GetCampaignCriterionSimulationRequest
],
campaign_criterion_simulation.CampaignCriterionSimulation,
]:
raise NotImplementedError
__all__ = ("CampaignCriterionSimulationServiceTransport",)
| [
"[email protected]"
] | |
81218cbe35e6ef4a09627951ac0eab617bd94d2c | fa0c53ac2a91409eaf0fc7c082a40caae3ffa0d8 | /com/lc/python_1_100_Days_Demo/Day01-15/Day09/code/employee.py | ac82d97c526cf06934a23fa8d2368df0c8c0cd8a | [] | no_license | ahviplc/pythonLCDemo | aba6d8deb1e766841461bd772560d1d50450057b | 22f149600dcfd4d769e9f74f1f12e3c3564e88c2 | refs/heads/master | 2023-07-24T01:41:59.791913 | 2023-07-07T02:32:45 | 2023-07-07T02:32:45 | 135,969,516 | 7 | 2 | null | 2023-02-02T03:24:14 | 2018-06-04T04:12:49 | Python | UTF-8 | Python | false | false | 1,824 | py | """
抽象类 / 方法重写 / 多态
实现一个工资结算系统 公司有三种类型的员工
- 部门经理固定月薪12000元/月
- 程序员按本月工作小时数每小时100元
- 销售员1500元/月的底薪加上本月销售额5%的提成
输入员工的信息 输出每位员工的月薪信息
Version: 0.1
Author: LC
DateTime:2018年9月18日13:55:50
一加壹博客最Top-一起共创1+1>2的力量!~LC
LC博客url: http://oneplusone.top/index.html
"""
from abc import ABCMeta, abstractmethod
class Employee(object, metaclass=ABCMeta):
def __init__(self, name):
self._name = name
@property
def name(self):
return self._name
@abstractmethod
def get_salary(self):
pass
class Manager(Employee):
# 想一想: 如果不定义构造方法会怎么样
def __init__(self, name):
# 想一想: 如果不调用父类构造器会怎么样
super().__init__(name)
def get_salary(self):
return 12000
class Programmer(Employee):
def __init__(self, name):
super().__init__(name)
def set_working_hour(self, working_hour):
self._working_hour = working_hour
def get_salary(self):
return 100 * self._working_hour
class Salesman(Employee):
def __init__(self, name):
super().__init__(name)
def set_sales(self, sales):
self._sales = sales
def get_salary(self):
return 1500 + self._sales * 0.05
if __name__ == '__main__':
emps = [Manager('武则天'), Programmer('狄仁杰'), Salesman('白元芳')]
for emp in emps:
if isinstance(emp, Programmer):
working_hour = int(input('请输入%s本月工作时间: ' % emp.name))
emp.set_working_hour(working_hour)
elif isinstance(emp, Salesman):
sales = float(input('请输入%s本月销售额: ' % emp.name))
emp.set_sales(sales)
print('%s本月月薪为: ¥%.2f元' % (emp.name, emp.get_salary()))
| [
"[email protected]"
] | |
8ca313a6343af6f39fca663bf4e7b08003d71448 | 98c6ea9c884152e8340605a706efefbea6170be5 | /examples/data/Assignment_2/klmale001/question2.py | 74abd3ce5a120172d6cab928acbe28d3e19dd740 | [] | no_license | MrHamdulay/csc3-capstone | 479d659e1dcd28040e83ebd9e3374d0ccc0c6817 | 6f0fa0fa1555ceb1b0fb33f25e9694e68b6a53d2 | refs/heads/master | 2021-03-12T21:55:57.781339 | 2014-09-22T02:22:22 | 2014-09-22T02:22:22 | 22,372,174 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,046 | py | print('Welcome to the 30 Second Rule Expert')
print('------------------------------------')
print('Answer the following questions by selecting from among the options.')
if input('Did anyone see you? (yes/no)\n')=="yes":
if input('Was it a boss/lover/parent? (yes/no)\n')=='yes':
if input('Was it expensive? (yes/no)\n')=='yes':
if input('Can you cut off the part that touched the floor? (yes/no)\n')=='yes':
print('Decision: Eat it.')
else: print('Decision: Your call.')
else:
if input('Is it chocolate? (yes/no)\n')=='yes':
print('Decision: Eat it.')
else:
print("Decision: Don't eat it.")
else:
print('Decision: Eat it.')
else:
if input('Was it sticky? (yes/no)\n')=='yes':
if input('Is it a raw steak? (yes/no)\n')=='yes':
if input('Are you a puma? (yes/no)\n')=='yes':
print('Decision: Eat it.')
else:
print("Decision: Don't eat it.")
else:
if input('Did the cat lick it? (yes/no)\n')=='yes':
if input('Is your cat healthy? (yes/no)\n')=='yes':
print('Decision: Eat it.')
else:
print('Decision: Your call.')
else:
print('Decision: Eat it.')
else:
if input('Is it an Emausaurus? (yes/no)\n')=='yes':
if input('Are you a Megalosaurus? (yes/no)\n')=='yes':
print('Decision: Eat it.')
else:
print("Decision: Don't eat it.")
else:
if input('Did the cat lick it? (yes/no)\n')=='yes':
if input('Is your cat healthy? (yes/no)\n')=='yes':
print('Decision: Eat it.')
else:
print('Decision: Your call.')
else:
print('Decision: Eat it.')
| [
"[email protected]"
] | |
4f531645d7a4cba97eb51cd0a69edb942d7d08f9 | 1eab574606dffb14a63195de994ee7c2355989b1 | /ixnetwork_restpy/testplatform/sessions/ixnetwork/vport/protocolstack/pppoxrange_rwb2ludc9yyw5nzs9wchbvefjhbmdl.py | eeb6bd5a63619fdcf2aee82bef8f279788621efa | [
"MIT"
] | permissive | steiler/ixnetwork_restpy | 56b3f08726301e9938aaea26f6dcd20ebf53c806 | dd7ec0d311b74cefb1fe310d57b5c8a65d6d4ff9 | refs/heads/master | 2020-09-04T12:10:18.387184 | 2019-11-05T11:29:43 | 2019-11-05T11:29:43 | 219,728,796 | 0 | 0 | null | 2019-11-05T11:28:29 | 2019-11-05T11:28:26 | null | UTF-8 | Python | false | false | 37,686 | py | # MIT LICENSE
#
# Copyright 1997 - 2019 by IXIA Keysight
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
from ixnetwork_restpy.base import Base
from ixnetwork_restpy.files import Files
class PppoxRange(Base):
"""The PPP range class
The PppoxRange class encapsulates a required pppoxRange resource which will be retrieved from the server every time the property is accessed.
"""
__slots__ = ()
_SDM_NAME = 'pppoxRange'
def __init__(self, parent):
super(PppoxRange, self).__init__(parent)
@property
def AcMac(self):
"""An instance of the AcMac class.
Returns:
obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.acmac_9yyw5nzs9wchbvefjhbmdll2fjtwfj.AcMac)
Raises:
NotFoundError: The requested resource does not exist on the server
ServerError: The server has encountered an uncategorized error condition
"""
from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.acmac_9yyw5nzs9wchbvefjhbmdll2fjtwfj import AcMac
return AcMac(self)
@property
def AcName(self):
"""An instance of the AcName class.
Returns:
obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.acname_yw5nzs9wchbvefjhbmdll2fjtmftzq.AcName)
Raises:
NotFoundError: The requested resource does not exist on the server
ServerError: The server has encountered an uncategorized error condition
"""
from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.acname_yw5nzs9wchbvefjhbmdll2fjtmftzq import AcName
return AcName(self)
@property
def DomainGroup(self):
"""An instance of the DomainGroup class.
Returns:
obj(ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.domaingroup_9wchbvefjhbmdll2rvbwfpbkdyb3vw.DomainGroup)
Raises:
NotFoundError: The requested resource does not exist on the server
ServerError: The server has encountered an uncategorized error condition
"""
from ixnetwork_restpy.testplatform.sessions.ixnetwork.vport.protocolstack.domaingroup_9wchbvefjhbmdll2rvbwfpbkdyb3vw import DomainGroup
return DomainGroup(self)
@property
def AcName(self):
"""Access Concentrator Name - this option is only available for PPP servers.
Returns:
str
"""
return self._get_attribute('acName')
@AcName.setter
def AcName(self, value):
self._set_attribute('acName', value)
@property
def AcOptions(self):
"""Indicates PPPoE AC retrieval mode
Returns:
str
"""
return self._get_attribute('acOptions')
@AcOptions.setter
def AcOptions(self, value):
self._set_attribute('acOptions', value)
@property
def ActualRateDownstream(self):
"""Actual Data Rate Downstream Value (TR-101 suboption 0x82)
Returns:
number
"""
return self._get_attribute('actualRateDownstream')
@ActualRateDownstream.setter
def ActualRateDownstream(self, value):
self._set_attribute('actualRateDownstream', value)
@property
def ActualRateUpstream(self):
"""Actual Data Rate Upstream Value (TR-101 suboption 0x81)
Returns:
number
"""
return self._get_attribute('actualRateUpstream')
@ActualRateUpstream.setter
def ActualRateUpstream(self, value):
self._set_attribute('actualRateUpstream', value)
@property
def AgentCircuitId(self):
"""Agent Circuit ID (TR-101 suboption 0x01)
Returns:
str
"""
return self._get_attribute('agentCircuitId')
@AgentCircuitId.setter
def AgentCircuitId(self, value):
self._set_attribute('agentCircuitId', value)
@property
def AgentRemoteId(self):
"""Agent Remote ID (TR-101 suboption 0x02)
Returns:
str
"""
return self._get_attribute('agentRemoteId')
@AgentRemoteId.setter
def AgentRemoteId(self, value):
self._set_attribute('agentRemoteId', value)
@property
def AuthOptions(self):
"""For GUI grouping.
Returns:
str
"""
return self._get_attribute('authOptions')
@AuthOptions.setter
def AuthOptions(self, value):
self._set_attribute('authOptions', value)
@property
def AuthRetries(self):
"""Number of PPP authentication retries
Returns:
number
"""
return self._get_attribute('authRetries')
@AuthRetries.setter
def AuthRetries(self, value):
self._set_attribute('authRetries', value)
@property
def AuthTimeout(self):
"""Timeout for PPP authentication, in seconds.
Returns:
number
"""
return self._get_attribute('authTimeout')
@AuthTimeout.setter
def AuthTimeout(self, value):
self._set_attribute('authTimeout', value)
@property
def AuthType(self):
"""Authentication type
Returns:
str
"""
return self._get_attribute('authType')
@AuthType.setter
def AuthType(self, value):
self._set_attribute('authType', value)
@property
def ChapName(self):
"""User name when CHAP Authentication is being used
Returns:
str
"""
return self._get_attribute('chapName')
@ChapName.setter
def ChapName(self, value):
self._set_attribute('chapName', value)
@property
def ChapSecret(self):
"""Secret when CHAP Authentication is being used
Returns:
str
"""
return self._get_attribute('chapSecret')
@ChapSecret.setter
def ChapSecret(self, value):
self._set_attribute('chapSecret', value)
@property
def ClientBaseIid(self):
"""Base for IPv6CP interface identifiers assigned to clients.
Returns:
str
"""
return self._get_attribute('clientBaseIid')
@ClientBaseIid.setter
def ClientBaseIid(self, value):
self._set_attribute('clientBaseIid', value)
@property
def ClientBaseIp(self):
"""Base for IPv4 PPP client address creation
Returns:
str
"""
return self._get_attribute('clientBaseIp')
@ClientBaseIp.setter
def ClientBaseIp(self, value):
self._set_attribute('clientBaseIp', value)
@property
def ClientDnsOptions(self):
"""Client DNS options
Returns:
str
"""
return self._get_attribute('clientDnsOptions')
@ClientDnsOptions.setter
def ClientDnsOptions(self, value):
self._set_attribute('clientDnsOptions', value)
@property
def ClientIidIncr(self):
"""Increment for IPv6CP client interface identifiers.
Returns:
number
"""
return self._get_attribute('clientIidIncr')
@ClientIidIncr.setter
def ClientIidIncr(self, value):
self._set_attribute('clientIidIncr', value)
@property
def ClientIpIncr(self):
"""Incrementor for IPv4 PPP client address creation
Returns:
str
"""
return self._get_attribute('clientIpIncr')
@ClientIpIncr.setter
def ClientIpIncr(self, value):
self._set_attribute('clientIpIncr', value)
@property
def ClientNetmask(self):
"""Netmask that the client should request
Returns:
str
"""
return self._get_attribute('clientNetmask')
@ClientNetmask.setter
def ClientNetmask(self, value):
self._set_attribute('clientNetmask', value)
@property
def ClientNetmaskOptions(self):
"""Client netmask options
Returns:
str
"""
return self._get_attribute('clientNetmaskOptions')
@ClientNetmaskOptions.setter
def ClientNetmaskOptions(self, value):
self._set_attribute('clientNetmaskOptions', value)
@property
def ClientPrimaryDnsAddress(self):
"""Primary DNS server address requested by client
Returns:
str
"""
return self._get_attribute('clientPrimaryDnsAddress')
@ClientPrimaryDnsAddress.setter
def ClientPrimaryDnsAddress(self, value):
self._set_attribute('clientPrimaryDnsAddress', value)
@property
def ClientSecondaryDnsAddress(self):
"""Secondary DNS server address requested by client
Returns:
str
"""
return self._get_attribute('clientSecondaryDnsAddress')
@ClientSecondaryDnsAddress.setter
def ClientSecondaryDnsAddress(self, value):
self._set_attribute('clientSecondaryDnsAddress', value)
@property
def ClientSignalIwf(self):
"""Enables the sending of the interworked session (0xFE) TR-101 suboption in client PPPoE messages (PADI/PADR/PADT)
Returns:
bool
"""
return self._get_attribute('clientSignalIwf')
@ClientSignalIwf.setter
def ClientSignalIwf(self, value):
self._set_attribute('clientSignalIwf', value)
@property
def ClientSignalLoopChar(self):
"""Enables the sending of the access loop characteristics TR-101 suboptions in client PPPoE messages (PADI/PADR/PADT)
Returns:
bool
"""
return self._get_attribute('clientSignalLoopChar')
@ClientSignalLoopChar.setter
def ClientSignalLoopChar(self, value):
self._set_attribute('clientSignalLoopChar', value)
@property
def ClientSignalLoopEncapsulation(self):
"""Enables the sending of the loop encapsulation (0x90) TR-101 suboption in client PPPoE messages (PADI/PADR/PADT)
Returns:
bool
"""
return self._get_attribute('clientSignalLoopEncapsulation')
@ClientSignalLoopEncapsulation.setter
def ClientSignalLoopEncapsulation(self, value):
self._set_attribute('clientSignalLoopEncapsulation', value)
@property
def ClientSignalLoopId(self):
"""Enables the sending of the remote ID and circuit ID TR-101 suboptions in client PPPoE messages (PADI/PADR/PADT)
Returns:
bool
"""
return self._get_attribute('clientSignalLoopId')
@ClientSignalLoopId.setter
def ClientSignalLoopId(self, value):
self._set_attribute('clientSignalLoopId', value)
@property
def DataLink(self):
"""Data Link for TR-101 suboption 0x90
Returns:
str
"""
return self._get_attribute('dataLink')
@DataLink.setter
def DataLink(self, value):
self._set_attribute('dataLink', value)
@property
def DnsServerList(self):
"""DNS server list separacted by semicolon
Returns:
str
"""
return self._get_attribute('dnsServerList')
@DnsServerList.setter
def DnsServerList(self, value):
self._set_attribute('dnsServerList', value)
@property
def DomainList(self):
"""Configure domain group settings
Returns:
str
"""
return self._get_attribute('domainList')
@DomainList.setter
def DomainList(self, value):
self._set_attribute('domainList', value)
@property
def EchoReqInterval(self):
"""Keep alive interval
Returns:
number
"""
return self._get_attribute('echoReqInterval')
@EchoReqInterval.setter
def EchoReqInterval(self, value):
self._set_attribute('echoReqInterval', value)
@property
def EnableDnsRa(self):
"""Enable RDNSS routing advertisments
Returns:
bool
"""
return self._get_attribute('enableDnsRa')
@EnableDnsRa.setter
def EnableDnsRa(self, value):
self._set_attribute('enableDnsRa', value)
@property
def EnableDomainGroups(self):
"""Enable domain groups
Returns:
bool
"""
return self._get_attribute('enableDomainGroups')
@EnableDomainGroups.setter
def EnableDomainGroups(self, value):
self._set_attribute('enableDomainGroups', value)
@property
def EnableEchoReq(self):
"""Enable Echo requests
Returns:
bool
"""
return self._get_attribute('enableEchoReq')
@EnableEchoReq.setter
def EnableEchoReq(self, value):
self._set_attribute('enableEchoReq', value)
@property
def EnableEchoRsp(self):
"""Enable Echo replies
Returns:
bool
"""
return self._get_attribute('enableEchoRsp')
@EnableEchoRsp.setter
def EnableEchoRsp(self, value):
self._set_attribute('enableEchoRsp', value)
@property
def EnableIncludeTagInPadi(self):
"""DEPRECATED OBSOLETE - If checked, PADI messages include Intermediate Agent Tags(only for PPP client)
Returns:
bool
"""
return self._get_attribute('enableIncludeTagInPadi')
@EnableIncludeTagInPadi.setter
def EnableIncludeTagInPadi(self, value):
self._set_attribute('enableIncludeTagInPadi', value)
@property
def EnableIncludeTagInPado(self):
"""DEPRECATED OBSOLETE - If checked, PADO messages include Intermediate Agent Tags(only for PPP server)
Returns:
bool
"""
return self._get_attribute('enableIncludeTagInPado')
@EnableIncludeTagInPado.setter
def EnableIncludeTagInPado(self, value):
self._set_attribute('enableIncludeTagInPado', value)
@property
def EnableIncludeTagInPadr(self):
"""DEPRECATED OBSOLETE - If checked, PADR messages include Intermediate Agent Tags(only for PPP client)
Returns:
bool
"""
return self._get_attribute('enableIncludeTagInPadr')
@EnableIncludeTagInPadr.setter
def EnableIncludeTagInPadr(self, value):
self._set_attribute('enableIncludeTagInPadr', value)
@property
def EnableIncludeTagInPads(self):
"""DEPRECATED OBSOLETE - If checked, PADs messages include Intermediate Agent Tags(only for PPP server)
Returns:
bool
"""
return self._get_attribute('enableIncludeTagInPads')
@EnableIncludeTagInPads.setter
def EnableIncludeTagInPads(self, value):
self._set_attribute('enableIncludeTagInPads', value)
@property
def EnableIntermediateAgentTags(self):
"""DEPRECATED OBSOLETE - If checked, Intermediate Agent Tags are enabled
Returns:
bool
"""
return self._get_attribute('enableIntermediateAgentTags')
@EnableIntermediateAgentTags.setter
def EnableIntermediateAgentTags(self, value):
self._set_attribute('enableIntermediateAgentTags', value)
@property
def EnableMaxPayload(self):
"""Enable/Disable Max Payload
Returns:
bool
"""
return self._get_attribute('enableMaxPayload')
@EnableMaxPayload.setter
def EnableMaxPayload(self, value):
self._set_attribute('enableMaxPayload', value)
@property
def EnableMru(self):
"""Enable/Disable MRU negotiation
Returns:
bool
"""
return self._get_attribute('enableMru')
@EnableMru.setter
def EnableMru(self, value):
self._set_attribute('enableMru', value)
@property
def EnableMruNegotiation(self):
"""DEPRECATED Option is deprecated. Please use enableMaxPayload. If checked, MRU negotiation is enabled
Returns:
bool
"""
return self._get_attribute('enableMruNegotiation')
@EnableMruNegotiation.setter
def EnableMruNegotiation(self, value):
self._set_attribute('enableMruNegotiation', value)
@property
def EnablePasswordCheck(self):
"""Enable authentication credential checking on the port.
Returns:
bool
"""
return self._get_attribute('enablePasswordCheck')
@EnablePasswordCheck.setter
def EnablePasswordCheck(self, value):
self._set_attribute('enablePasswordCheck', value)
@property
def EnableRedial(self):
"""Enable/Disable PPPoE redial
Returns:
bool
"""
return self._get_attribute('enableRedial')
@EnableRedial.setter
def EnableRedial(self, value):
self._set_attribute('enableRedial', value)
@property
def Enabled(self):
"""Disabled ranges won't be configured nor validated.
Returns:
bool
"""
return self._get_attribute('enabled')
@Enabled.setter
def Enabled(self, value):
self._set_attribute('enabled', value)
@property
def Encaps1(self):
"""Encapsulation 1 for TR-101 suboption 0x90
Returns:
str
"""
return self._get_attribute('encaps1')
@Encaps1.setter
def Encaps1(self, value):
self._set_attribute('encaps1', value)
@property
def Encaps2(self):
"""Encapsulation 2 for TR-101 suboption 0x90
Returns:
str
"""
return self._get_attribute('encaps2')
@Encaps2.setter
def Encaps2(self, value):
self._set_attribute('encaps2', value)
@property
def Ipv6AddrPrefixLen(self):
"""IPv6 Address Prefix Length
Returns:
number
"""
return self._get_attribute('ipv6AddrPrefixLen')
@Ipv6AddrPrefixLen.setter
def Ipv6AddrPrefixLen(self, value):
self._set_attribute('ipv6AddrPrefixLen', value)
@property
def Ipv6PoolPrefix(self):
"""Pool prefix for the IPv6 IP pool.
Returns:
str
"""
return self._get_attribute('ipv6PoolPrefix')
@Ipv6PoolPrefix.setter
def Ipv6PoolPrefix(self, value):
self._set_attribute('ipv6PoolPrefix', value)
@property
def Ipv6PoolPrefixLen(self):
"""IPv6 Pool Prefix Length
Returns:
number
"""
return self._get_attribute('ipv6PoolPrefixLen')
@Ipv6PoolPrefixLen.setter
def Ipv6PoolPrefixLen(self, value):
self._set_attribute('ipv6PoolPrefixLen', value)
@property
def LcpOptions(self):
"""For GUI grouping.
Returns:
str
"""
return self._get_attribute('lcpOptions')
@LcpOptions.setter
def LcpOptions(self, value):
self._set_attribute('lcpOptions', value)
@property
def LcpRetries(self):
"""Number of LCP retries
Returns:
number
"""
return self._get_attribute('lcpRetries')
@LcpRetries.setter
def LcpRetries(self, value):
self._set_attribute('lcpRetries', value)
@property
def LcpTermRetries(self):
"""Number of LCP Termination Retries
Returns:
number
"""
return self._get_attribute('lcpTermRetries')
@LcpTermRetries.setter
def LcpTermRetries(self, value):
self._set_attribute('lcpTermRetries', value)
@property
def LcpTermTimeout(self):
"""Timeout for LCP termination, in seconds.
Returns:
number
"""
return self._get_attribute('lcpTermTimeout')
@LcpTermTimeout.setter
def LcpTermTimeout(self, value):
self._set_attribute('lcpTermTimeout', value)
@property
def LcpTimeout(self):
"""Timeout for LCP phase, in seconds
Returns:
number
"""
return self._get_attribute('lcpTimeout')
@LcpTimeout.setter
def LcpTimeout(self, value):
self._set_attribute('lcpTimeout', value)
@property
def MaxPayload(self):
"""Max Payload
Returns:
number
"""
return self._get_attribute('maxPayload')
@MaxPayload.setter
def MaxPayload(self, value):
self._set_attribute('maxPayload', value)
@property
def Mtu(self):
"""Max Transmit Unit for PPP
Returns:
number
"""
return self._get_attribute('mtu')
@Mtu.setter
def Mtu(self, value):
self._set_attribute('mtu', value)
@property
def Name(self):
"""Name of range
Returns:
str
"""
return self._get_attribute('name')
@Name.setter
def Name(self, value):
self._set_attribute('name', value)
@property
def NcpRetries(self):
"""Number of NCP retries
Returns:
number
"""
return self._get_attribute('ncpRetries')
@NcpRetries.setter
def NcpRetries(self, value):
self._set_attribute('ncpRetries', value)
@property
def NcpTimeout(self):
"""Timeout for NCP phase, in seconds
Returns:
number
"""
return self._get_attribute('ncpTimeout')
@NcpTimeout.setter
def NcpTimeout(self, value):
self._set_attribute('ncpTimeout', value)
@property
def NcpType(self):
"""IP type (IPv4/IPv6) for Network Control Protocol
Returns:
str
"""
return self._get_attribute('ncpType')
@NcpType.setter
def NcpType(self, value):
self._set_attribute('ncpType', value)
@property
def NumSessions(self):
"""No. of sessions to setup
Returns:
number
"""
return self._get_attribute('numSessions')
@NumSessions.setter
def NumSessions(self, value):
self._set_attribute('numSessions', value)
@property
def ObjectId(self):
"""Unique identifier for this object
Returns:
str
"""
return self._get_attribute('objectId')
@property
def PadiRetries(self):
"""Number of PADI Retries
Returns:
number
"""
return self._get_attribute('padiRetries')
@PadiRetries.setter
def PadiRetries(self, value):
self._set_attribute('padiRetries', value)
@property
def PadiTimeout(self):
"""Timeout for PADI no response, in seconds
Returns:
number
"""
return self._get_attribute('padiTimeout')
@PadiTimeout.setter
def PadiTimeout(self, value):
self._set_attribute('padiTimeout', value)
@property
def PadrRetries(self):
"""Number of PADR Retries
Returns:
number
"""
return self._get_attribute('padrRetries')
@PadrRetries.setter
def PadrRetries(self, value):
self._set_attribute('padrRetries', value)
@property
def PadrTimeout(self):
"""Timeout for PADR no response, in seconds
Returns:
number
"""
return self._get_attribute('padrTimeout')
@PadrTimeout.setter
def PadrTimeout(self, value):
self._set_attribute('padrTimeout', value)
@property
def PapPassword(self):
"""Password when PAP Authentication is being used
Returns:
str
"""
return self._get_attribute('papPassword')
@PapPassword.setter
def PapPassword(self, value):
self._set_attribute('papPassword', value)
@property
def PapUser(self):
"""User name when PAP Authentication is being used
Returns:
str
"""
return self._get_attribute('papUser')
@PapUser.setter
def PapUser(self, value):
self._set_attribute('papUser', value)
@property
def PppoeOptions(self):
"""For GUI grouping.
Returns:
str
"""
return self._get_attribute('pppoeOptions')
@PppoeOptions.setter
def PppoeOptions(self, value):
self._set_attribute('pppoeOptions', value)
@property
def RedialMax(self):
"""Maximum number of PPPoE redials
Returns:
number
"""
return self._get_attribute('redialMax')
@RedialMax.setter
def RedialMax(self, value):
self._set_attribute('redialMax', value)
@property
def RedialTimeout(self):
"""PPPoE redial timeout, in seconds
Returns:
number
"""
return self._get_attribute('redialTimeout')
@RedialTimeout.setter
def RedialTimeout(self, value):
self._set_attribute('redialTimeout', value)
@property
def ServerBaseIid(self):
"""Base for IPv6CP interface identifiers assigned to servers.
Returns:
str
"""
return self._get_attribute('serverBaseIid')
@ServerBaseIid.setter
def ServerBaseIid(self, value):
self._set_attribute('serverBaseIid', value)
@property
def ServerBaseIp(self):
"""Base for IPv4 PPP server address creation
Returns:
str
"""
return self._get_attribute('serverBaseIp')
@ServerBaseIp.setter
def ServerBaseIp(self, value):
self._set_attribute('serverBaseIp', value)
@property
def ServerDnsOptions(self):
"""Server DNS options
Returns:
str
"""
return self._get_attribute('serverDnsOptions')
@ServerDnsOptions.setter
def ServerDnsOptions(self, value):
self._set_attribute('serverDnsOptions', value)
@property
def ServerIidIncr(self):
"""Increment for IPv6CP server interface identifiers.
Returns:
number
"""
return self._get_attribute('serverIidIncr')
@ServerIidIncr.setter
def ServerIidIncr(self, value):
self._set_attribute('serverIidIncr', value)
@property
def ServerIpIncr(self):
"""DEPRECATED *For internal use only*. For PPP/IP v4 server plugins, exactly one server address is used. As a result, 0.0.0.0 is the only legal value for this property.
Returns:
str
"""
return self._get_attribute('serverIpIncr')
@ServerIpIncr.setter
def ServerIpIncr(self, value):
self._set_attribute('serverIpIncr', value)
@property
def ServerNetmask(self):
"""Netmask that the server should supply to clients
Returns:
str
"""
return self._get_attribute('serverNetmask')
@ServerNetmask.setter
def ServerNetmask(self, value):
self._set_attribute('serverNetmask', value)
@property
def ServerNetmaskOptions(self):
"""Server netmask options
Returns:
str
"""
return self._get_attribute('serverNetmaskOptions')
@ServerNetmaskOptions.setter
def ServerNetmaskOptions(self, value):
self._set_attribute('serverNetmaskOptions', value)
@property
def ServerPrimaryDnsAddress(self):
"""Primary DNS server address supplied by server
Returns:
str
"""
return self._get_attribute('serverPrimaryDnsAddress')
@ServerPrimaryDnsAddress.setter
def ServerPrimaryDnsAddress(self, value):
self._set_attribute('serverPrimaryDnsAddress', value)
@property
def ServerSecondaryDnsAddress(self):
"""Secondary DNS server address supplied by server
Returns:
str
"""
return self._get_attribute('serverSecondaryDnsAddress')
@ServerSecondaryDnsAddress.setter
def ServerSecondaryDnsAddress(self, value):
self._set_attribute('serverSecondaryDnsAddress', value)
@property
def ServerSignalIwf(self):
"""If enabled, the PPPoE server echoes the interworked session TR-101 suboption received in messages from the client
Returns:
bool
"""
return self._get_attribute('serverSignalIwf')
@ServerSignalIwf.setter
def ServerSignalIwf(self, value):
self._set_attribute('serverSignalIwf', value)
@property
def ServerSignalLoopChar(self):
"""If enabled, the PPPoE server echoes the loop characteristics TR-101 suboptions received in messages from the client
Returns:
bool
"""
return self._get_attribute('serverSignalLoopChar')
@ServerSignalLoopChar.setter
def ServerSignalLoopChar(self, value):
self._set_attribute('serverSignalLoopChar', value)
@property
def ServerSignalLoopEncapsulation(self):
"""If enabled, the PPPoE server echoes the loop encapsulation (0x90) TR-101 suboption received in messages from the client
Returns:
bool
"""
return self._get_attribute('serverSignalLoopEncapsulation')
@ServerSignalLoopEncapsulation.setter
def ServerSignalLoopEncapsulation(self, value):
self._set_attribute('serverSignalLoopEncapsulation', value)
@property
def ServerSignalLoopId(self):
"""If enabled, the PPPoE server echoes the remote ID and circuit ID TR-101 suboptions received in messages from the client
Returns:
bool
"""
return self._get_attribute('serverSignalLoopId')
@ServerSignalLoopId.setter
def ServerSignalLoopId(self, value):
self._set_attribute('serverSignalLoopId', value)
@property
def ServiceName(self):
"""Access Concentrator Service Name - this option is only available for PPP servers.
Returns:
str
"""
return self._get_attribute('serviceName')
@ServiceName.setter
def ServiceName(self, value):
self._set_attribute('serviceName', value)
@property
def ServiceOptions(self):
"""Indicates PPPoE service retrieval mode
Returns:
str
"""
return self._get_attribute('serviceOptions')
@ServiceOptions.setter
def ServiceOptions(self, value):
self._set_attribute('serviceOptions', value)
@property
def UnlimitedRedialAttempts(self):
"""Enable/Disable PPPoE unlimited redial attempts
Returns:
bool
"""
return self._get_attribute('unlimitedRedialAttempts')
@UnlimitedRedialAttempts.setter
def UnlimitedRedialAttempts(self, value):
self._set_attribute('unlimitedRedialAttempts', value)
@property
def UseMagic(self):
"""use magic
Returns:
bool
"""
return self._get_attribute('useMagic')
@UseMagic.setter
def UseMagic(self, value):
self._set_attribute('useMagic', value)
def update(self, AcName=None, AcOptions=None, ActualRateDownstream=None, ActualRateUpstream=None, AgentCircuitId=None, AgentRemoteId=None, AuthOptions=None, AuthRetries=None, AuthTimeout=None, AuthType=None, ChapName=None, ChapSecret=None, ClientBaseIid=None, ClientBaseIp=None, ClientDnsOptions=None, ClientIidIncr=None, ClientIpIncr=None, ClientNetmask=None, ClientNetmaskOptions=None, ClientPrimaryDnsAddress=None, ClientSecondaryDnsAddress=None, ClientSignalIwf=None, ClientSignalLoopChar=None, ClientSignalLoopEncapsulation=None, ClientSignalLoopId=None, DataLink=None, DnsServerList=None, DomainList=None, EchoReqInterval=None, EnableDnsRa=None, EnableDomainGroups=None, EnableEchoReq=None, EnableEchoRsp=None, EnableIncludeTagInPadi=None, EnableIncludeTagInPado=None, EnableIncludeTagInPadr=None, EnableIncludeTagInPads=None, EnableIntermediateAgentTags=None, EnableMaxPayload=None, EnableMru=None, EnableMruNegotiation=None, EnablePasswordCheck=None, EnableRedial=None, Enabled=None, Encaps1=None, Encaps2=None, Ipv6AddrPrefixLen=None, Ipv6PoolPrefix=None, Ipv6PoolPrefixLen=None, LcpOptions=None, LcpRetries=None, LcpTermRetries=None, LcpTermTimeout=None, LcpTimeout=None, MaxPayload=None, Mtu=None, Name=None, NcpRetries=None, NcpTimeout=None, NcpType=None, NumSessions=None, PadiRetries=None, PadiTimeout=None, PadrRetries=None, PadrTimeout=None, PapPassword=None, PapUser=None, PppoeOptions=None, RedialMax=None, RedialTimeout=None, ServerBaseIid=None, ServerBaseIp=None, ServerDnsOptions=None, ServerIidIncr=None, ServerIpIncr=None, ServerNetmask=None, ServerNetmaskOptions=None, ServerPrimaryDnsAddress=None, ServerSecondaryDnsAddress=None, ServerSignalIwf=None, ServerSignalLoopChar=None, ServerSignalLoopEncapsulation=None, ServerSignalLoopId=None, ServiceName=None, ServiceOptions=None, UnlimitedRedialAttempts=None, UseMagic=None):
"""Updates a child instance of pppoxRange on the server.
Args:
AcName (str): Access Concentrator Name - this option is only available for PPP servers.
AcOptions (str): Indicates PPPoE AC retrieval mode
ActualRateDownstream (number): Actual Data Rate Downstream Value (TR-101 suboption 0x82)
ActualRateUpstream (number): Actual Data Rate Upstream Value (TR-101 suboption 0x81)
AgentCircuitId (str): Agent Circuit ID (TR-101 suboption 0x01)
AgentRemoteId (str): Agent Remote ID (TR-101 suboption 0x02)
AuthOptions (str): For GUI grouping.
AuthRetries (number): Number of PPP authentication retries
AuthTimeout (number): Timeout for PPP authentication, in seconds.
AuthType (str): Authentication type
ChapName (str): User name when CHAP Authentication is being used
ChapSecret (str): Secret when CHAP Authentication is being used
ClientBaseIid (str): Base for IPv6CP interface identifiers assigned to clients.
ClientBaseIp (str): Base for IPv4 PPP client address creation
ClientDnsOptions (str): Client DNS options
ClientIidIncr (number): Increment for IPv6CP client interface identifiers.
ClientIpIncr (str): Incrementor for IPv4 PPP client address creation
ClientNetmask (str): Netmask that the client should request
ClientNetmaskOptions (str): Client netmask options
ClientPrimaryDnsAddress (str): Primary DNS server address requested by client
ClientSecondaryDnsAddress (str): Secondary DNS server address requested by client
ClientSignalIwf (bool): Enables the sending of the interworked session (0xFE) TR-101 suboption in client PPPoE messages (PADI/PADR/PADT)
ClientSignalLoopChar (bool): Enables the sending of the access loop characteristics TR-101 suboptions in client PPPoE messages (PADI/PADR/PADT)
ClientSignalLoopEncapsulation (bool): Enables the sending of the loop encapsulation (0x90) TR-101 suboption in client PPPoE messages (PADI/PADR/PADT)
ClientSignalLoopId (bool): Enables the sending of the remote ID and circuit ID TR-101 suboptions in client PPPoE messages (PADI/PADR/PADT)
DataLink (str): Data Link for TR-101 suboption 0x90
DnsServerList (str): DNS server list separacted by semicolon
DomainList (str): Configure domain group settings
EchoReqInterval (number): Keep alive interval
EnableDnsRa (bool): Enable RDNSS routing advertisments
EnableDomainGroups (bool): Enable domain groups
EnableEchoReq (bool): Enable Echo requests
EnableEchoRsp (bool): Enable Echo replies
EnableIncludeTagInPadi (bool): OBSOLETE - If checked, PADI messages include Intermediate Agent Tags(only for PPP client)
EnableIncludeTagInPado (bool): OBSOLETE - If checked, PADO messages include Intermediate Agent Tags(only for PPP server)
EnableIncludeTagInPadr (bool): OBSOLETE - If checked, PADR messages include Intermediate Agent Tags(only for PPP client)
EnableIncludeTagInPads (bool): OBSOLETE - If checked, PADs messages include Intermediate Agent Tags(only for PPP server)
EnableIntermediateAgentTags (bool): OBSOLETE - If checked, Intermediate Agent Tags are enabled
EnableMaxPayload (bool): Enable/Disable Max Payload
EnableMru (bool): Enable/Disable MRU negotiation
EnableMruNegotiation (bool): Option is deprecated. Please use enableMaxPayload. If checked, MRU negotiation is enabled
EnablePasswordCheck (bool): Enable authentication credential checking on the port.
EnableRedial (bool): Enable/Disable PPPoE redial
Enabled (bool): Disabled ranges won't be configured nor validated.
Encaps1 (str): Encapsulation 1 for TR-101 suboption 0x90
Encaps2 (str): Encapsulation 2 for TR-101 suboption 0x90
Ipv6AddrPrefixLen (number): IPv6 Address Prefix Length
Ipv6PoolPrefix (str): Pool prefix for the IPv6 IP pool.
Ipv6PoolPrefixLen (number): IPv6 Pool Prefix Length
LcpOptions (str): For GUI grouping.
LcpRetries (number): Number of LCP retries
LcpTermRetries (number): Number of LCP Termination Retries
LcpTermTimeout (number): Timeout for LCP termination, in seconds.
LcpTimeout (number): Timeout for LCP phase, in seconds
MaxPayload (number): Max Payload
Mtu (number): Max Transmit Unit for PPP
Name (str): Name of range
NcpRetries (number): Number of NCP retries
NcpTimeout (number): Timeout for NCP phase, in seconds
NcpType (str): IP type (IPv4/IPv6) for Network Control Protocol
NumSessions (number): No. of sessions to setup
PadiRetries (number): Number of PADI Retries
PadiTimeout (number): Timeout for PADI no response, in seconds
PadrRetries (number): Number of PADR Retries
PadrTimeout (number): Timeout for PADR no response, in seconds
PapPassword (str): Password when PAP Authentication is being used
PapUser (str): User name when PAP Authentication is being used
PppoeOptions (str): For GUI grouping.
RedialMax (number): Maximum number of PPPoE redials
RedialTimeout (number): PPPoE redial timeout, in seconds
ServerBaseIid (str): Base for IPv6CP interface identifiers assigned to servers.
ServerBaseIp (str): Base for IPv4 PPP server address creation
ServerDnsOptions (str): Server DNS options
ServerIidIncr (number): Increment for IPv6CP server interface identifiers.
ServerIpIncr (str): *For internal use only*. For PPP/IP v4 server plugins, exactly one server address is used. As a result, 0.0.0.0 is the only legal value for this property.
ServerNetmask (str): Netmask that the server should supply to clients
ServerNetmaskOptions (str): Server netmask options
ServerPrimaryDnsAddress (str): Primary DNS server address supplied by server
ServerSecondaryDnsAddress (str): Secondary DNS server address supplied by server
ServerSignalIwf (bool): If enabled, the PPPoE server echoes the interworked session TR-101 suboption received in messages from the client
ServerSignalLoopChar (bool): If enabled, the PPPoE server echoes the loop characteristics TR-101 suboptions received in messages from the client
ServerSignalLoopEncapsulation (bool): If enabled, the PPPoE server echoes the loop encapsulation (0x90) TR-101 suboption received in messages from the client
ServerSignalLoopId (bool): If enabled, the PPPoE server echoes the remote ID and circuit ID TR-101 suboptions received in messages from the client
ServiceName (str): Access Concentrator Service Name - this option is only available for PPP servers.
ServiceOptions (str): Indicates PPPoE service retrieval mode
UnlimitedRedialAttempts (bool): Enable/Disable PPPoE unlimited redial attempts
UseMagic (bool): use magic
Raises:
ServerError: The server has encountered an uncategorized error condition
"""
self._update(locals())
def CustomProtocolStack(self, *args, **kwargs):
"""Executes the customProtocolStack operation on the server.
Create custom protocol stack under /vport/protocolStack
customProtocolStack(Arg2:list, Arg3:enum)
Args:
args[0] is Arg2 (list(str)): List of plugin types to be added in the new custom stack
args[1] is Arg3 (str(kAppend|kMerge|kOverwrite)): Append, merge or overwrite existing protocol stack
Raises:
NotFoundError: The requested resource does not exist on the server
ServerError: The server has encountered an uncategorized error condition
"""
payload = { "Arg1": self }
for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i]
for item in kwargs.items(): payload[item[0]] = item[1]
return self._execute('customProtocolStack', payload=payload, response_object=None)
def DisableProtocolStack(self, *args, **kwargs):
"""Executes the disableProtocolStack operation on the server.
Disable a protocol under protocolStack using the class name
disableProtocolStack(Arg2:string)string
Args:
args[0] is Arg2 (str): Protocol class name to disable
Returns:
str: Status of the exec
Raises:
NotFoundError: The requested resource does not exist on the server
ServerError: The server has encountered an uncategorized error condition
"""
payload = { "Arg1": self.href }
for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i]
for item in kwargs.items(): payload[item[0]] = item[1]
return self._execute('disableProtocolStack', payload=payload, response_object=None)
def EnableProtocolStack(self, *args, **kwargs):
"""Executes the enableProtocolStack operation on the server.
Enable a protocol under protocolStack using the class name
enableProtocolStack(Arg2:string)string
Args:
args[0] is Arg2 (str): Protocol class name to enable
Returns:
str: Status of the exec
Raises:
NotFoundError: The requested resource does not exist on the server
ServerError: The server has encountered an uncategorized error condition
"""
payload = { "Arg1": self.href }
for i in range(len(args)): payload['Arg%s' % (i + 2)] = args[i]
for item in kwargs.items(): payload[item[0]] = item[1]
return self._execute('enableProtocolStack', payload=payload, response_object=None)
| [
"[email protected]"
] | |
bceef0b93c3691d490c863dae8725908c66c9136 | 92a6b3dfbaa5ee932b7ecebcb5dad66c878163d5 | /机器学习的代码/hello_world_linear_model.py | c4455c7476f4610d89a4df7aabe14b25e497a6d2 | [] | no_license | Color4/2017_code_updata_to_use | c99e9cf409904531813e69e5106b4650a1863979 | a531d2b61d6984b4101af68bf1e54783d5e0843b | refs/heads/master | 2020-03-31T20:14:34.366303 | 2018-10-08T04:58:10 | 2018-10-08T04:58:10 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,835 | py | import tensorflow as tf
import numpy
import matplotlib.pyplot as plt
rng = numpy.random
# Parameters
learning_rate = 0.01
training_epochs = 2000
display_step = 50
# Training Data
train_X = numpy.asarray([3.3,4.4,5.5,6.71,6.93,4.168,9.779,6.182,7.59,2.167,7.042,10.791,5.313,7.997,5.654,9.27,3.1])
train_Y = numpy.asarray([1.7,2.76,2.09,3.19,1.694,1.573,3.366,2.596,2.53,1.221,2.827,3.465,1.65,2.904,2.42,2.94,1.3])
n_samples = train_X.shape[0]
# tf Graph Input
X = tf.placeholder("float")
Y = tf.placeholder("float")
# Create Model
# Set model weights
W = tf.Variable(rng.randn(), name="weight")
b = tf.Variable(rng.randn(), name="bias")
# Construct a linear model
activation = tf.add(tf.multiply(X, W), b)
# Minimize the squared errors
cost = tf.reduce_sum(tf.pow(activation-Y, 2))/(2*n_samples) #L2 loss
optimizer = tf.train.GradientDescentOptimizer(learning_rate).minimize(cost) #Gradient descent
# Initializing the variables
init = tf.global_variables_initializer()
# Launch the graph
with tf.Session() as sess:
sess.run(init)
# Fit all training data
for epoch in range(training_epochs):
for (x, y) in zip(train_X, train_Y):
sess.run(optimizer, feed_dict={X: x, Y: y})
#Display logs per epoch step
if epoch % display_step == 0:
print("Epoch:", '%04d' % (epoch+1), "cost=", "{:.9f}".format(sess.run(cost, feed_dict={X: train_X, Y:train_Y})), "W=", sess.run(W), "b=", sess.run(b))
print("Optimization Finished!")
print("cost=", sess.run(cost, feed_dict={X: train_X, Y: train_Y}),"W=", sess.run(W), "b=", sess.run(b))
#Graphic display
plt.plot(train_X, train_Y, 'ro', label='Original data')
plt.plot(train_X, sess.run(W) * train_X + sess.run(b), label='Fitted line')
plt.legend()
plt.show()
| [
"[email protected]"
] | |
b0b0f2739ca965c635b18a5027894999d2f8ca3c | ddaef23fe2e8da8153d69c5fc95421cc70f0d76c | /hc/api/decorators.py | bff56dda347bd98b691fd63c97deb7217b1f5210 | [
"BSD-3-Clause"
] | permissive | PagerTree/healthchecks | ee706b7b86a96c86d00428bdae96f4711e03bbde | ae53aaaa3a9f3e420858f9b877dd5047fae689ee | refs/heads/master | 2023-01-10T00:14:15.735248 | 2022-12-20T14:23:33 | 2022-12-20T14:23:33 | 114,281,135 | 0 | 1 | null | 2017-12-14T18:03:00 | 2017-12-14T18:03:00 | null | UTF-8 | Python | false | false | 3,708 | py | from __future__ import annotations
import json
from functools import wraps
from django.db.models import Q
from django.http import HttpResponse, JsonResponse
from hc.accounts.models import Project
from hc.lib.jsonschema import ValidationError, validate
def error(msg, status=400):
return JsonResponse({"error": msg}, status=status)
def authorize(f):
@wraps(f)
def wrapper(request, *args, **kwds):
if "HTTP_X_API_KEY" in request.META:
api_key = request.META["HTTP_X_API_KEY"]
elif hasattr(request, "json"):
api_key = str(request.json.get("api_key", ""))
else:
api_key = ""
if len(api_key) != 32:
return error("missing api key", 401)
try:
request.project = Project.objects.get(api_key=api_key)
except Project.DoesNotExist:
return error("wrong api key", 401)
request.readonly = False
request.v = 2 if request.path_info.startswith("/api/v2/") else 1
return f(request, *args, **kwds)
return wrapper
def authorize_read(f):
@wraps(f)
def wrapper(request, *args, **kwds):
if "HTTP_X_API_KEY" in request.META:
api_key = request.META["HTTP_X_API_KEY"]
elif hasattr(request, "json"):
api_key = str(request.json.get("api_key", ""))
else:
api_key = ""
if len(api_key) != 32:
return error("missing api key", 401)
write_key_match = Q(api_key=api_key)
read_key_match = Q(api_key_readonly=api_key)
try:
request.project = Project.objects.get(write_key_match | read_key_match)
except Project.DoesNotExist:
return error("wrong api key", 401)
request.readonly = api_key == request.project.api_key_readonly
request.v = 2 if request.path_info.startswith("/api/v2/") else 1
return f(request, *args, **kwds)
return wrapper
def validate_json(schema={"type": "object"}):
"""Parse request json and validate it against `schema`.
Put the parsed result in `request.json`.
If schema is None then only parse and check if the root
element is a dict. Supports a limited subset of JSON schema spec.
"""
def decorator(f):
@wraps(f)
def wrapper(request, *args, **kwds):
if request.method == "POST" and request.body:
try:
request.json = json.loads(request.body.decode())
except ValueError:
return error("could not parse request body")
else:
request.json = {}
try:
validate(request.json, schema)
except ValidationError as e:
return error("json validation error: %s" % e)
return f(request, *args, **kwds)
return wrapper
return decorator
def cors(*methods):
methods = set(methods)
methods.add("OPTIONS")
methods_str = ", ".join(methods)
def decorator(f):
@wraps(f)
def wrapper(request, *args, **kwds):
if request.method == "OPTIONS":
# Handle OPTIONS here
response = HttpResponse(status=204)
elif request.method in methods:
response = f(request, *args, **kwds)
else:
response = HttpResponse(status=405)
response["Access-Control-Allow-Origin"] = "*"
response["Access-Control-Allow-Headers"] = "X-Api-Key"
response["Access-Control-Allow-Methods"] = methods_str
response["Access-Control-Max-Age"] = "600"
return response
return wrapper
return decorator
| [
"[email protected]"
] | |
29922bc33b6c89fc40112d18ddfad5c53622011d | 16270d37d819a35777ab6d6a6430cd63551917f1 | /handlers/newpost.py | 7299307b23a91c08ba2ee439648df4749e4e1c09 | [] | no_license | SteadBytes/multi-user-blog | de28673155b81bd22e6cb57825670beca9ffdcf0 | a3269a949753c72fad0915a1a6feafe50d75c4e3 | refs/heads/master | 2021-06-22T13:42:58.381491 | 2017-06-28T15:22:14 | 2017-06-28T15:22:14 | 89,211,765 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,182 | py | from handlers.blog import BlogHandler
from models.blogpost import BlogPost
from helpers import *
class NewPostHandler(BlogHandler):
"""Handler for '/blog/newpost'.
"""
def render_new_post(self, subject="", content="", error=""):
self.render("new_post.html.j2", subject=subject,
content=content, error=error)
@BlogHandler.user_logged_in
def get(self):
self.render_new_post()
@BlogHandler.user_logged_in
def post(self):
"""Gets data from input form.
Retrieves post subject and title from input form and creates a new User
model then redirects to a permalink for the post.
If subject and content are invalid the form is re-loaded with
appropriate error messages.
"""
subject = self.request.get("subject")
content = self.request.get("content")
if subject and content:
post = BlogPost.make(self.user, subject, content)
post.put()
self.redirect("/blog/%s" % str(post.key().id()))
else:
error = "Please enter subject and content!"
self.render_new_post(subject, content, error)
| [
"="
] | = |
a5911ccfb35e51051246e197db71d55138d3c634 | 6df062cecf36b3e0ae46a84e28b3af50f179c442 | /autouri/metadata.py | e5ab73e28370c1cdcc262b3ccad79285964efd3d | [
"MIT"
] | permissive | ENCODE-DCC/autouri | 81b8b0807c05f17c125fe90f125f516a5a1fcec7 | 73d97ac2ee98bd153abe2f34cbdd89bf3c7aea24 | refs/heads/master | 2023-05-12T06:11:00.576561 | 2023-05-04T17:33:52 | 2023-05-04T17:33:52 | 222,572,865 | 0 | 1 | MIT | 2023-05-04T17:33:53 | 2019-11-19T00:33:18 | Python | UTF-8 | Python | false | false | 1,380 | py | """URIMetadata and helper functions for metadata
"""
import warnings
from base64 import b64decode
from binascii import hexlify
from collections import namedtuple
from datetime import datetime, timezone
from dateparser import parse as dateparser_parse
from dateutil.parser import parse as dateutil_parse
URIMetadata = namedtuple("URIMetadata", ("exists", "mtime", "size", "md5"))
def get_seconds_from_epoch(timestamp: str) -> float:
"""If dateutil.parser.parse cannot parse DST timezones
(e.g. PDT, EDT) correctly, then use dateparser.parse instead.
"""
utc_epoch = datetime(1970, 1, 1, tzinfo=timezone.utc)
utc_t = None
try:
with warnings.catch_warnings():
warnings.simplefilter("ignore")
utc_t = dateutil_parse(timestamp)
except Exception:
pass
if utc_t is None or utc_t.tzname() not in ("UTC", "Z"):
utc_t = dateparser_parse(timestamp)
utc_t = utc_t.astimezone(timezone.utc)
return (utc_t - utc_epoch).total_seconds()
def base64_to_hex(b: str) -> str:
return hexlify(b64decode(b)).decode()
def parse_md5_str(raw: str) -> str:
"""Check if it's based on base64 then convert it to hexadecimal string."""
raw = raw.strip("\"'")
if len(raw) == 32:
return raw
else:
try:
return base64_to_hex(raw)
except Exception:
pass
| [
"[email protected]"
] | |
a5a87d9cb88235ea15ab3e8f5388bacc96dbfbea | b1926953762b3720a9b5e4f7e136c3f296765f4b | /0x09-utf8_validation/0-validate_utf8.py | c026393dd80a6751dde74b661baa470fb11e7cea | [] | no_license | Nukemenonai/holbertonschool-interview | 2fd637e50d943fb5735012eee074f4c272c86e83 | 3c2727aaf91f4cccfce7c05406cac8b9c10f6e2d | refs/heads/master | 2023-06-26T13:32:30.568587 | 2021-07-29T01:20:08 | 2021-07-29T01:20:08 | 280,456,322 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 714 | py | #!/usr/bin/python3
"""
utf validator
"""
def validUTF8(data):
"""
checks if an array if integers representing a UTF-8 is valid UTF-8
data: list of integers
returns: true if valid else 0
"""
n_bytes = 0
for num in data:
bin_rep = format(num, '#010b')[-8:]
if n_bytes == 0:
for bit in bin_rep:
if bit == '0':
break
n_bytes += 1
if n_bytes == 0:
continue
if n_bytes == 1 or n_bytes > 4:
return False
else:
if not (bin_rep[0] == '1' and bin_rep[1] == '0'):
return False
n_bytes -= 1
return n_bytes == 0
| [
"[email protected]"
] | |
9bb14ece250d2ec5a2cf8da15216e6244b49cb44 | d7df481f20826849b208f2b62eff53d8d107eeff | /ch5/multi3.py | 3ec9f68a0da4de3c70e95033f4d0a2367ec0ee86 | [] | no_license | jemuelb/programming-python-2 | 5f847d591129ae2071cf2937f7853fda654a4e09 | 07f1b36f6017f7c310ac89a62fa8f8280aac9b8c | refs/heads/master | 2021-05-01T19:23:15.748425 | 2018-03-04T22:53:30 | 2018-03-04T22:53:30 | 121,020,259 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 2,457 | py | """
Use multiprocess shared memory objects to communicate.
Passed objects are shared, but globals are not on Windows.
Last test here reflects common use case: distributing work.
"""
import os
from multiprocessing import Process, Value, Array
procs = 3
count = 0
def showdata(label, val, arr):
"""
print data values in this process
"""
msg = '%-12s: pid:%4s, global:%s, value:%s, array:%s'
print(msg % (label, os.getpid(), count, val.value, list(arr)))
def updater(val, arr):
"""
communicate via shared memory
"""
global count
count += 1
val.value += 1
for i in range(3):
arr[i] += 1
if __name__ == '__main__':
scalar = Value('i', 0)
vector = Array('d', procs)
# show start value in parent process
showdata('parent start', scalar, vector)
# spawn child, pass in shared memory
p = Process(target=showdata, args=('child ', scalar, vector))
p.start(); p.join()
# pass in shared memory updated in parent, wait for each to finish
# each child sees updates in parent so far for args (but not global)
print('\nloop1 (updates in parent, serial children)...')
for i in range(procs):
count += 1
scalar.value += 1
vector[i] += 1
p = Process(target=showdata, args=(('process %s' % i), scalar, vector))
p.start(); p.join
# same as prior, but allow children to run in parallel
# all see the last iteration's result because all share objects
print('\nloop2 (updates in parent, parallel children)...')
ps = []
for i in range(procs):
count += 1
scalar.value += 1
vector[i] += 1
p = Process(target=showdata, args=(('process %s' % i), scalar, vector))
p.start()
ps.append(p)
for p in ps:
p.join()
# shared memory updated in spawned children, wait for each
print('\nloop3 (updates in serial children)...')
for i in range(procs):
p = Process(target=updater, args=(scalar, vector))
p.start()
p.join()
showdata('parent temp', scalar, vector)
# same, but allow children to update in parallel
ps = []
print('\nloop4 (updates in parallel children)...')
for i in range(procs):
p = Process(target=updater, args=(scalar, vector))
p.start()
ps.append(p)
for p in ps:
p.join()
# show final results here
showdata('parent end', scalar, vector)
| [
"[email protected]"
] | |
bbdaf5b5723f6bf90d7a7615c82525fa5e2c3298 | 50e375bdc8affc1a8c09aa567a740fa19df7d5a6 | /DSBQ/venv/bin/chardetect | 5b47b8e5fd7a90a96a565e185674e79a64bd2b81 | [] | no_license | michTalebzadeh/SparkStructuredStreaming | ca7a257626e251c7b03a9844cfd229fa8ea95af5 | 87ef34ffe52061fcbb4f22fcd97764037717696a | refs/heads/master | 2023-07-13T00:49:10.753863 | 2021-07-12T16:39:50 | 2021-07-12T16:39:50 | 364,826,528 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 254 | #!/home/hduser/PycharmProjects/DSBQ/venv/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from chardet.cli.chardetect import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())
| [
"[email protected]"
] | ||
1fe8d88dbb1f77c4ea991f377fb063188a87e733 | 6810a482759afd585db7bb0b85fd0416f0450e6d | /Open Kattis/tolower.py | 7daf83d10d73126578159f631168fa5092a44ace | [] | no_license | BenRStutzman/kattis | 01b000ac2353c8b8000c6bddec3698f66b0198ef | 005720f853e7f531a264227d0d9aaa19d4d7cf1b | refs/heads/master | 2020-07-15T23:52:45.785021 | 2019-11-09T03:28:06 | 2019-11-09T03:28:06 | 205,675,532 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 464 | py | import sys
def main():
inp = sys.stdin.read().splitlines()
P, T = [int(num) for num in inp[0].split()]
num_right = 0
for problem in range(1, P * T + 1, T):
#print('NEW PROBLEM')
for case in range(problem, problem + T):
string = inp[case]
#print(string)
if len(string) > 1 and not string[1:].islower():
break
else: num_right += 1
print(num_right)
main()
| [
"[email protected]"
] | |
144944f86d23e3dd519eba2f3a2d474bfcad06bc | c36d9d70cbb257b2ce9a214bcf38f8091e8fe9b7 | /75_sort_color.py | 7bcae70f22da475f20b84852253654c068fa61d1 | [] | no_license | zdadadaz/coding_practice | 3452e4fc8f4a79cb98d0d4ea06ce0bcae85f96a0 | 5ed070f22f4bc29777ee5cbb01bb9583726d8799 | refs/heads/master | 2021-06-23T17:52:40.149982 | 2021-05-03T22:31:23 | 2021-05-03T22:31:23 | 226,006,763 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,510 | py | class Solution:
def sortColors(self, nums):
"""
Do not return anything, modify nums in-place instead.
"""
self.recur(nums,0,len(nums)-1)
def recur(self,nums, lt, rt):
if lt<rt:
print(lt,rt)
pivot_idx = self.rearrange(nums, lt, rt)
print(pivot_idx)
self.recur(nums,lt,pivot_idx-1)
self.recur(nums,pivot_idx+1,rt)
def rearrange(self,nums, lt, rt):
pivot = nums[rt]
i = lt-1
for j in range(lt,rt):
if nums[j] < pivot:
i+=1
nums[i],nums[j] = nums[j],nums[i]
i+=1
nums[rt], nums[i] = nums[i], nums[rt]
return i
# two pointers
def sortColors_web(self, nums: List[int]) -> None:
"""
Do not return anything, modify nums in-place instead.
"""
lt = 0
rt = len(nums)-1
i=0
while i<=rt:
if nums[i]==0:
nums[i],nums[lt] = nums[lt],nums[i]
lt+=1
i+=1
elif nums[i]==2:
nums[i],nums[rt] = nums[rt],nums[i]
rt-=1
else:
i+=1
sol = Solution()
input= [2,0,2,1,1,0]
sol.sortColors(input)
print(input)
# Input: [2,0,2,1,1,0]
# Output: [0,0,1,1,2,2]
# lt=0,rt=5, pivot=2,lt=6,rt=1,out,swap pivot 5, [0,0,2,1,1,2] (n,n,n,n,n,y)
# lt=0,rt=4, pivot=0,lt=2,rt=-1,out,swap pivot 1, [0,0,2,1,1,2] (n,y,n,n,n,y)
| [
"[email protected]"
] | |
d12aec597ccbdf191c9024d967f7c6d1b7b636ed | 2ff2f41c6fe48a4961513ca6deefbc5b393c406e | /python/tvm/contrib/dlpack.py | 11db29f98b3ea308493040c592bdc92c390450a9 | [
"Apache-2.0"
] | permissive | zhiics/tvm | 9f5a39c6373349800b9255d74225d5dd65aba70f | 4782b1fc153d6614808f542155d58188f2dc8255 | refs/heads/master | 2021-12-21T03:24:31.176090 | 2018-09-05T22:48:37 | 2018-09-05T22:48:37 | 143,820,078 | 6 | 2 | Apache-2.0 | 2020-05-13T00:54:21 | 2018-08-07T04:34:08 | C++ | UTF-8 | Python | false | false | 1,251 | py | """Wrapping functions to bridge frameworks with DLPack support to TVM"""
from .. import ndarray
def convert_func(tvm_func, tensor_type, to_dlpack_func):
"""Convert a tvm function into one that accepts a tensor from another
framework, provided the other framework supports DLPACK
Parameters
----------
tvm_func: Function
Built tvm function operating on arrays
tensor_type: Type
Type of the tensors of the target framework
to_dlpack_func: Function
Function to convert the source tensors to DLPACK
"""
assert callable(tvm_func)
def _wrapper(*args):
args = tuple(ndarray.from_dlpack(to_dlpack_func(arg))\
if isinstance(arg, tensor_type) else arg for arg in args)
return tvm_func(*args)
return _wrapper
def to_pytorch_func(tvm_func):
"""Convert a tvm function into one that accepts PyTorch tensors
Parameters
----------
tvm_func: Function
Built tvm function operating on arrays
Returns
-------
wrapped_func: Function
Wrapped tvm function that operates on PyTorch tensors
"""
import torch
import torch.utils.dlpack
return convert_func(tvm_func, torch.Tensor, torch.utils.dlpack.to_dlpack)
| [
"[email protected]"
] | |
c9f4124207254efef396011f078633f4edf00400 | 8e39f7ab3d728aaa593a0c0ddd113ea8e6f287c6 | /14_ulter)table.py | b0ca45650e4fa1679ae40301ec502f9c1fd74489 | [] | no_license | tamercs2005/Python-MySQL-Guide | 423ffd502cd08de2850f25f3cfad47983e0949eb | 01917a31038517dfcabe7f5400262792d5b86ef7 | refs/heads/master | 2021-05-22T01:01:21.988815 | 2020-04-02T08:41:40 | 2020-04-02T08:41:40 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 356 | py | import mysql.connector
myconn = mysql.connector.connect(
host="localhost" ,
user = "root" ,
passwd = "toor" ,
database='mydatabase'
)
mycursor = myconn.cursor()
# mycursor.execute(" ALTER TABLE movies ADD COLUMN language VARCHAR(30)")
mycursor.execute(" ALTER TABLE movies CHANGE language language VARCHAR(50)")
myconn.commit()
| [
"[email protected]"
] | |
d7d8e8c5e21f43299f74516f10cb59ddbb9faaba | 9680ba23fd13b4bc0fc3ce0c9f02bb88c6da73e4 | /Bernd Klein (520) ile Python/p_20702.py | fdd42efc88e98cd52221dee5ff8c40475d982f06 | [] | no_license | mnihatyavas/Python-uygulamalar | 694091545a24f50a40a2ef63a3d96354a57c8859 | 688e0dbde24b5605e045c8ec2a9c772ab5f0f244 | refs/heads/master | 2020-08-23T19:12:42.897039 | 2020-04-24T22:45:22 | 2020-04-24T22:45:22 | 216,670,169 | 0 | 0 | null | null | null | null | ISO-8859-9 | Python | false | false | 7,337 | py | # coding:iso-8859-9 Türkçe
# p_20702.py: Grafik sınıfıyla, yumru, bağlantı, izole, yeni yumru ve bağlantı ekleme örneği.
class Grafik (object):
def __init__ (self, grafikSözlüğü=None):
if grafikSözlüğü == None: grafikSözlüğü = {}
self.__grafikSözlüğü = grafikSözlüğü
def yumrular (self): return list (self.__grafikSözlüğü.keys() )
def yumruEkle (self, yumru):
if yumru not in self.__grafikSözlüğü: self.__grafikSözlüğü[yumru] = []
def bağlantılar (self): return self.bağlantılarıKur()
def bağlantılarıKur (self):
bağlantılar = []
for yumru in self.__grafikSözlüğü:
for komşu in self.__grafikSözlüğü[yumru]:
if {komşu, yumru} not in bağlantılar: bağlantılar.append ({yumru, komşu})
return bağlantılar
def bağlantıEkle (self, bağlantı):
bağlantı = set (bağlantı)
(yumru1, yumru2) = tuple (bağlantı)
if yumru1 in self.__grafikSözlüğü: self.__grafikSözlüğü[yumru1].append (yumru2)
else: self.__grafikSözlüğü[yumru1] = [yumru2]
def patikaBul (self, ilkYumru, sonYumru, patika=None):
if patika == None: patika = []
grafik = self.__grafikSözlüğü
patika = patika + [ilkYumru]
if ilkYumru == sonYumru: return patika
if ilkYumru not in grafik: return None
for yumru in grafik[ilkYumru]:
if yumru not in patika:
eklenenPatika = self.patikaBul (yumru, sonYumru, patika)
if eklenenPatika: return eklenenPatika
return None
def tümPatikalarıBul (self, ilkYumru, sonYumru, patika=[]):
grafik = self.__grafikSözlüğü
patika = patika + [ilkYumru]
if ilkYumru == sonYumru: return [patika]
if ilkYumru not in grafik: return []
patikalar = []
for yumru in grafik[ilkYumru]:
if yumru not in patika:
eklenenPatika = self.tümPatikalarıBul (yumru, sonYumru, patika)
for p in eklenenPatika: patikalar.append (p)
return patikalar
def __str__ (self):
sonuç = "Yumrular: "
for y in self.__grafikSözlüğü: sonuç += str (y) + " "
sonuç += "\nBağlantılar: "
for b in self.bağlantılarıKur(): sonuç += str (b) + " "
return sonuç
# Sonraki örneklerin eklenti fonksiyonları...
def yumruDerecesi (self, yumru):
komşuYumrular = self.__grafikSözlüğü[yumru]
derece = len (komşuYumrular) + komşuYumrular.count (yumru)
return derece
def izoleYumrular (self):
grafik = self.__grafikSözlüğü
izoleListesi = []
for yumru in grafik:
if not grafik[yumru]: izoleListesi += [yumru]
return izoleListesi
def asgariDerece (self):
asgari = 100000000
for yumru in self.__grafikSözlüğü:
yumruDerecesi = self.yumruDerecesi (yumru)
if yumruDerecesi < asgari: asgari = yumruDerecesi
return asgari
def azamiDerece (self):
azami = 0
for yumru in self.__grafikSözlüğü:
yumruDerecesi = self.yumruDerecesi (yumru)
if yumruDerecesi > azami: azami = yumruDerecesi
return azami
def dereceSilsilesi (self):
silsileListesi = []
for yumru in self.__grafikSözlüğü: silsileListesi.append (self.yumruDerecesi (yumru))
silsileListesi.sort (reverse = True)
return tuple (silsileListesi)
@staticmethod
def erdoes_gallai (silsile):
if sum (silsile) % 2: return False
for k in range (1, len (silsile) + 1):
sol = sum (silsile[:k])
sağ = k * (k-1) + sum ([min (x, k) for x in silsile[k:]])
if sol > sağ: return False
return True
def yoğunluk (self):
g = self.__grafikSözlüğü
Y = len (g.keys())
B = len (self.bağlantılar())
return 2.0 * B / (Y *(Y - 1)) # Bağlantı yoğunluğu [0->1] arasıdır...
def bağlantılıMı (self, bağlantılıYumrular = None, ilkYumru=None):
if bağlantılıYumrular is None: bağlantılıYumrular = set()
gSöz = self.__grafikSözlüğü
yumrular = list (gSöz.keys())
if not ilkYumru: # İlk yumru belirtilmemişse, 0.yumruyu seç...
ilkYumru = yumrular[0]
bağlantılıYumrular.add (ilkYumru)
if len (bağlantılıYumrular) != len (yumrular):
for yumru in gSöz[ilkYumru]:
if yumru not in bağlantılıYumrular:
if self.bağlantılıMı (bağlantılıYumrular, yumru): return True
else: return True
return False
def grafiğinÇapı (self):
y = self.yumrular()
çiftlerListesi = [(y[i], y[j]) for i in range (len (y) - 1) for j in range (i+1, len (y))]
enkısaYol = []
for (y1, y2) in çiftlerListesi:
patikalar = self.tümPatikalarıBul (y1, y2)
enkısası = sorted (patikalar, key=len)[0]
enkısaYol.append (enkısası)
enkısaYol.sort (key=len)
grafiğinÇapı = len (enkısaYol[-1]) - 1 # Artan sıralamada son yol enuzunudur...
return grafiğinÇapı
if __name__ == "__main__":
g = {
"a" : ["d"],
"b" : ["c"],
"c" : ["b", "c", "d", "e"],
"d" : ["a", "c"],
"e" : ["c"],
"f" : [],
"g" : []
}
grafik = Grafik (g)
print ("Grafiğin mevcut yumruları:")
print (grafik.yumrular())
print ("Grafiğin mevcut bağlantıları:")
print (grafik.bağlantılar())
print ("Yeni bir yumru 'z' ekle:")
grafik.yumruEkle ("z")
print ("Grafiğin ilk güncel yumruları:")
print (grafik.yumrular())
print ("Yeni bir bağlantı {'a', 'z'} ekle:")
grafik.bağlantıEkle ({"a", "z"})
print ("Grafiğin ikinci güncel yumruları:")
print (grafik.yumrular() )
print ("Grafiğin ikinci güncel bağlantıları:")
print (grafik.bağlantılar())
print ('Yeni bağlantılı iki yumru {"x","y"} ekle:')
grafik.bağlantıEkle ({"x", "y"})
grafik.yumruEkle ("x")
print ("Grafiğin son yumruları:")
print (grafik.yumrular())
print ("Grafiğin son bağlantıları:")
print (grafik.bağlantılar())
"""Çıktı:
>python p_20702.py
Grafiğin mevcut yumruları:
['a', 'b', 'c', 'd', 'e', 'f', 'g']
Grafiğin mevcut bağlantıları:
[{'a', 'd'}, {'b', 'c'}, {'c'}, {'c', 'd'}, {'c', 'e'}]
Yeni bir yumru 'z' ekle:
Grafiğin ilk güncel yumruları:
['a', 'b', 'c', 'd', 'e', 'f', 'g', 'z']
Yeni bir bağlantı {'a', 'z'} ekle:
Grafiğin ikinci güncel yumruları:
['a', 'b', 'c', 'd', 'e', 'f', 'g', 'z']
Grafiğin ikinci güncel bağlantıları:
[{'a', 'd'}, {'b', 'c'}, {'c'}, {'c', 'd'}, {'c', 'e'}, {'z', 'a'}]
Yeni bağlantılı iki yumru {"x","y"} ekle:
Grafiğin son yumruları:
['a', 'b', 'c', 'd', 'e', 'f', 'g', 'z', 'x']
Grafiğin son bağlantıları:
[{'a', 'd'}, {'b', 'c'}, {'c'}, {'c', 'd'}, {'c', 'e'}, {'z', 'a'}, {'x', 'y'}]
""" | [
"[email protected]"
] | |
d02aa2b17cff92893dbbc39c51ae250ff988bac9 | 472578974401c83509d81ea4d832fc3fd821f295 | /python资料/day8.1/day02/exercise06.py | 55b143dd621190359b3f5a9fd71213fb7e669ccc | [
"MIT"
] | permissive | why1679158278/python-stu | f038ec89e9c3c7cc80dc0ff83b76e7c3078e279e | 0d95451f17e1d583d460b3698047dbe1a6910703 | refs/heads/master | 2023-01-05T04:34:56.128363 | 2020-11-06T09:05:16 | 2020-11-06T09:05:16 | 298,263,579 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 238 | py | """
古代的秤,一斤十六两。
在终端中获取两,计算几斤零几两。
"""
total_liang = int(input("请输入两:"))
jin = total_liang // 16
liang = total_liang % 16
print(str(jin) + "斤零" + str(liang) + "两")
| [
"[email protected]"
] | |
67048f55cb3fb75a8cae9b2b21d1dfcb147d6a37 | 70b339d0b2638a7914d0d56c5edf8a2637c9f4b0 | /sortedSquares.py | 2903b4c61f859f1b2a07c241e19027f5d65a4f57 | [] | no_license | pflun/advancedAlgorithms | 9991da7514024e18ba08de8688966b9220e12571 | 5520dbcd26999b98e1229bf03c2f62dd690a2ddc | refs/heads/master | 2023-02-19T12:05:26.902535 | 2023-02-14T06:08:54 | 2023-02-14T06:08:54 | 189,055,701 | 4 | 0 | null | null | null | null | UTF-8 | Python | false | false | 565 | py | class Solution(object):
# brutal force
def sortedSquares(self, A):
res = []
for a in A:
a *= a
res.append(a)
return sorted(res)
def sortedSquares2(self, A):
l = 0
r = len(A) - 1
res = []
while l <= r:
if A[l] * A[l] > A[r] * A[r]:
res.append(A[l] * A[l])
l += 1
else:
res.append(A[r] * A[r])
r -= 1
return res[::-1]
test = Solution()
print test.sortedSquares2([-7,-3,2,3,11]) | [
"[email protected]"
] | |
4c428bc89f8805b8ef2093c63845593d05c4ce62 | 39cd9aa81927c20d85d1b65e55523455626ee902 | /python_work/chapter_9/exercises/9_7_admin.py | bfa5186b5cf37e58e1617c832d9bc40acb9e8e8f | [] | no_license | SMS-NED16/crash-course-python | acf363562a813f7deb36614dc935be4ed2d07fee | e6e6cb787d208f51f114f71331c43af1ddc1e4c2 | refs/heads/master | 2020-03-09T02:29:35.241621 | 2018-04-21T16:09:16 | 2018-04-21T16:09:16 | 128,541,065 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,544 | py | class User():
"""A class that models a user for an online forum"""
def __init__(self, f_name, l_name,
age, city, hometown, *languages):
"""Constructor - creates attributes, initialises them"""
self.first_name = f_name;
self.last_name = l_name;
self.age = age
self.city = city
self.hometown = hometown
self.languages = languages #languages is a tuple
def describe_user(self):
"""Prints all information about user as a neatly formatted string"""
print("Name:\t" + self.first_name.title()
+ " " + self.last_name.title())
print("Age:\t" + str(self.age))
print("City:\t" + self.city)
print("Hometown:\t" + self.hometown)
print("Languages:\t" + str(self.languages))
def greet_user(self):
"""Displays a personalised greeting for the user"""
print("Hello, " + self.first_name.title() + "! Welcome back!")
class Admin(User):
"""A specialised version of the User class for forum administrators"""
def __init__(self, f_name, l_name, age, city, hometown, *languages):
"""Initialises superclass attributes, then inits privileges"""
super().__init__(f_name, l_name, age, city, hometown, *languages)
self.privileges = ["can add post", "can delete post", "can ban user"]
def show_privileges(self):
print("This admin has the following privileges.")
for privilege in self.privileges:
print(" -" + privilege)
#Creating an instance of the Admin class
spez = Admin("Alex", "Ohanian", 31, "San Francisco", "Los Angeles",
"English", "Spanish", "German")
spez.describe_user()
spez.show_privileges() | [
"[email protected]"
] | |
b8583d8e9f7866f782b43f9711befcd5252146ac | ea393959886a5cd13da4539d634f2ca0bbcd06a2 | /573.py | 42d030dc870c94f3d9e8565f14b11a340a9c8cdf | [] | no_license | zhangchizju2012/LeetCode | f605f35b82f16282559af71e4e61ec2629a90ebc | 0c4c38849309124121b03cc0b4bf39071b5d1c8c | refs/heads/master | 2020-04-05T12:12:14.810639 | 2018-08-09T10:24:52 | 2018-08-09T10:24:52 | 81,021,830 | 7 | 1 | null | null | null | null | UTF-8 | Python | false | false | 900 | py | #!/usr/bin/env python2
# -*- coding: utf-8 -*-
"""
Created on Sun May 7 10:19:34 2017
@author: zhangchi
"""
class Solution(object):
def minDistance(self, height, width, tree, squirrel, nuts):
"""
:type height: int
:type width: int
:type tree: List[int]
:type squirrel: List[int]
:type nuts: List[List[int]]
:rtype: int
"""
result = 0
distance1 = []
distance2 = []
for a,b in nuts:
temp1 = abs(a-tree[0]) + abs(b-tree[1])
result += temp1
distance1.append(temp1)
temp2 = abs(a-squirrel[0]) + abs(b-squirrel[1])
distance2.append(temp2)
temp = -float('inf')
for a,b in zip(distance1,distance2):
temp = max(temp,a-b)
return 2*result-temp
s = Solution()
print s.minDistance(5,7,[2,2],[4,4],[[3,0]]) | [
"[email protected]"
] | |
affa813021fb253b56dceef1f271826d715e645c | 150d9e4cee92be00251625b7f9ff231cc8306e9f | /NumbersSmallerThanCurrent.py | 2bae72ae2f809266720b4eaf4ce851d1171905a7 | [] | no_license | JerinPaulS/Python-Programs | 0d3724ce277794be597104d9e8f8becb67282cb0 | d0778178d89d39a93ddb9b95ca18706554eb7655 | refs/heads/master | 2022-05-12T02:18:12.599648 | 2022-04-20T18:02:15 | 2022-04-20T18:02:15 | 216,547,245 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,377 | py | '''
1365. How Many Numbers Are Smaller Than the Current Number
Given the array nums, for each nums[i] find out how many numbers in the array are smaller than it. That is, for each nums[i] you have to count the number of valid j's such that j != i and nums[j] < nums[i].
Return the answer in an array.
Example 1:
Input: nums = [8,1,2,2,3]
Output: [4,0,1,1,3]
Explanation:
For nums[0]=8 there exist four smaller numbers than it (1, 2, 2 and 3).
For nums[1]=1 does not exist any smaller number than it.
For nums[2]=2 there exist one smaller number than it (1).
For nums[3]=2 there exist one smaller number than it (1).
For nums[4]=3 there exist three smaller numbers than it (1, 2 and 2).
Example 2:
Input: nums = [6,5,4,8]
Output: [2,1,0,3]
Example 3:
Input: nums = [7,7,7,7]
Output: [0,0,0,0]
Constraints:
2 <= nums.length <= 500
0 <= nums[i] <= 100
'''
class Solution(object):
def smallerNumbersThanCurrent(self, nums):
"""
:type nums: List[int]
:rtype: List[int]
"""
index_dict = {}
sorted_nums = sorted(nums)
size = len(nums)
for index in range(size):
if index_dict.has_key(sorted_nums[index]):
pass
else:
index_dict[sorted_nums[index]] = index
result = []
for num in nums:
result.append(index_dict[num])
return result | [
"[email protected]"
] | |
64fb7280e68ec5647db275e2630d86e34c3f4531 | 751d837b8a4445877bb2f0d1e97ce41cd39ce1bd | /codegolf/ryleys-theorem.py | d1cab6a350c802b71d7905109a1cbddc1681610b | [
"MIT"
] | permissive | qeedquan/challenges | d55146f784a3619caa4541ac6f2b670b0a3dd8ba | 56823e77cf502bdea68cce0e1221f5add3d64d6a | refs/heads/master | 2023-08-11T20:35:09.726571 | 2023-08-11T13:02:43 | 2023-08-11T13:02:43 | 115,886,967 | 2 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,365 | py | #!/usr/bin/env python
"""
S. Ryley proved following theorem in 1825:
Every rational number can be expressed as a sum of three rational cubes.
Challenge
Given some rational number r∈Q find three rational numbers a,b,c∈Q such that
r=a^3+b^3+c^3.
Details
Your submission should be able to compute a solution for every input given enough time and memory, that means having for instance two 32-bit int representing a fraction is not sufficient.
30 = 3982933876681^3 - 636600549515^3 - 3977505554546^3
52 = 60702901317^3 + 23961292454^3 - 61922712865^3
307/1728 = (1/2)^3 + (1/3)^3 + (1/4)^3
0 = 0^3 + 0^3 + 0^3
1 = (1/2)^3 + (2/3)^3 + (5/6)^3
42 = (1810423/509232)^3 + (-14952/10609)^3 + (-2545/4944)^3
"""
from sympy import Rational
"""
@alephalpha
This formula is given in: Richmond, H. (1930). On Rational Solutions of x^3+y^3+z^3=R. Proceedings of the Edinburgh Mathematical Society, 2(2), 92-100.
"""
def ryley(r):
a = (27*r**3 + 1) / (27*r**2 - 9*r + 3)
b = (-27*r**3 + 9*r - 1) / (27*r**2 - 9*r + 3)
c = (-27*r**2 + 9*r) / (27*r**2 - 9*r + 3)
return (a, b, c)
def test(s):
r = Rational(s)
(a, b, c) = ryley(r)
print("%s = (%s)**3 + (%s)**3 + (%s)**3" % (r, a, b, c))
assert(a**3 + b**3 + c**3 == r)
def main():
test("30")
test("52")
test("307/1728")
test("0")
test("1")
test("42")
main()
| [
"[email protected]"
] | |
35f1888cc5c9fc51aa085d4c3396ea1d040525b6 | e23a4f57ce5474d468258e5e63b9e23fb6011188 | /070_oop/008_metaprogramming/_exercises/templates/abc_Abstract Base Classes/a_002_abc_register.py | b8bfec0995c22298e2201c8eea4bad38aa21ba9e | [] | no_license | syurskyi/Python_Topics | 52851ecce000cb751a3b986408efe32f0b4c0835 | be331826b490b73f0a176e6abed86ef68ff2dd2b | refs/heads/master | 2023-06-08T19:29:16.214395 | 2023-05-29T17:09:11 | 2023-05-29T17:09:11 | 220,583,118 | 3 | 2 | null | 2023-02-16T03:08:10 | 2019-11-09T02:58:47 | Python | UTF-8 | Python | false | false | 1,704 | py | # # abc_register.py
#
# # Registering a Concrete Class
# # There are two ways to indicate that a concrete class implements an abstract API: either explicitly register the class
# # or create a new subclass directly from the abstract base. Use the register() class method as a decorator on a concrete
# # class to add it explicitly when the class provides the required API, but is not part of the inheritance tree of the
# # abstract base class.
#
# ______ a..
# ____ a_001_abc_base ______ P..
#
#
# c_ LocalBaseClass
# p..
#
#
# ??.? # registration
# c_ RegisteredImplementation L..
#
# ___ load input
# r_ i__.r..
#
# ___ save output data
# r_ o__.w.. d..
#
#
# __ ______ __ _____
# print('Subclass:', iss..(R..
# P..
# print('Instance:', isi..(R..
# P..
#
#
# # $ python3 abc_register.py
# #
# # Subclass: True
# # Instance: True
#
# # In this example the RegisteredImplementation is derived from LocalBaseClass, but is registered as implementing
# # the PluginBase API so issubclass() and isinstance() treat it as though it is derived from PluginBase.
#
# python2
#
# # import abc
# # from abc_base import PluginBase
# #
# #
# # class RegisteredImplementation(object):
# #
# # def load(self, input):
# # return input.read()
# #
# # def save(self, output, data):
# # return output.write(data)
# #
# #
# # PluginBase.register(RegisteredImplementation)
# #
# # if __name__ == '__main__':
# # print 'Subclass:', issubclass(RegisteredImplementation, PluginBase)
# # print 'Instance:', isinstance(RegisteredImplementation(), PluginBase)
| [
"[email protected]"
] | |
8f0df066964b1e9be5746d2af2975bece4df73dd | a46d135ba8fd7bd40f0b7d7a96c72be446025719 | /packages/python/plotly/plotly/validators/histogram/_textangle.py | 68378b446f6808b2e7ee34ebc5568780f31bdf59 | [
"MIT"
] | permissive | hugovk/plotly.py | 5e763fe96f225d964c4fcd1dea79dbefa50b4692 | cfad7862594b35965c0e000813bd7805e8494a5b | refs/heads/master | 2022-05-10T12:17:38.797994 | 2021-12-21T03:49:19 | 2021-12-21T03:49:19 | 234,146,634 | 0 | 0 | MIT | 2020-01-15T18:33:43 | 2020-01-15T18:33:41 | null | UTF-8 | Python | false | false | 403 | py | import _plotly_utils.basevalidators
class TextangleValidator(_plotly_utils.basevalidators.AngleValidator):
def __init__(self, plotly_name="textangle", parent_name="histogram", **kwargs):
super(TextangleValidator, self).__init__(
plotly_name=plotly_name,
parent_name=parent_name,
edit_type=kwargs.pop("edit_type", "plot"),
**kwargs
)
| [
"[email protected]"
] | |
cfeb60f14d9f1e186676c152db7dd3af3517173d | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p02390/s045787689.py | a21b79fd1538b4ffbba1f951c4b89420ceafd49e | [] | no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 83 | py | sec=int(input())
print(":".join(map(str, [int(sec/3600), int(sec/60)%60, sec%60]))) | [
"[email protected]"
] | |
96eb608a4aec47b59d732212d9a262773a22af35 | a428f3465eb1f8b038acf96b4f6bdc1d4bb9786b | /src/developer/main/uvtools/widget/ui/moveuvUI.py | 0969c5d1fe159d8e423a4d8822bb25b97e948fdf | [] | no_license | code-google-com/mayatools | 1672137562beae17803cd0ea267e0247528ba1a1 | f2177440b9e5316fdc2fe4d41bf64b504cb8bab7 | refs/heads/master | 2020-12-24T14:57:25.711451 | 2014-11-06T11:46:52 | 2014-11-06T11:46:52 | 32,266,328 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 16,095 | py | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'D:\maya_Tools\src\developer\main\uvtools\widget\ui\moveuvUI.ui'
#
# Created: Thu Oct 23 16:43:13 2014
# by: PyQt4 UI code generator 4.11.2
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
try:
_fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
def _fromUtf8(s):
return s
try:
_encoding = QtGui.QApplication.UnicodeUTF8
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig, _encoding)
except AttributeError:
def _translate(context, text, disambig):
return QtGui.QApplication.translate(context, text, disambig)
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName(_fromUtf8("MainWindow"))
MainWindow.resize(401, 188)
self.centralwidget = QtGui.QWidget(MainWindow)
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralwidget)
self.verticalLayout_2.setMargin(3)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.groupBox = QtGui.QGroupBox(self.centralwidget)
self.groupBox.setTitle(_fromUtf8(""))
self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
self.verticalLayout.setMargin(3)
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.gridLayout = QtGui.QGridLayout()
self.gridLayout.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
self.gridLayout.setSpacing(1)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.lineEdit = QtGui.QLineEdit(self.groupBox)
self.lineEdit.setEnabled(True)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.lineEdit.sizePolicy().hasHeightForWidth())
self.lineEdit.setSizePolicy(sizePolicy)
self.lineEdit.setMinimumSize(QtCore.QSize(0, 20))
self.lineEdit.setSizeIncrement(QtCore.QSize(0, 0))
self.lineEdit.setBaseSize(QtCore.QSize(0, 0))
self.lineEdit.setStyleSheet(_fromUtf8("QLineEdit {\n"
"padding: 4px;\n"
"border-style: solid;\n"
"border: 1px solid gray;\n"
"border-radius: 10px;\n"
"font: bold 11px\n"
"}"))
self.lineEdit.setInputMask(_fromUtf8(""))
self.lineEdit.setFrame(False)
self.lineEdit.setDragEnabled(True)
self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
self.gridLayout.addWidget(self.lineEdit, 1, 2, 1, 1)
self.btnUpRight = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnUpRight.sizePolicy().hasHeightForWidth())
self.btnUpRight.setSizePolicy(sizePolicy)
self.btnUpRight.setStyleSheet(_fromUtf8(""))
self.btnUpRight.setText(_fromUtf8(""))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/Project/arrow_2.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.btnUpRight.setIcon(icon)
self.btnUpRight.setIconSize(QtCore.QSize(32, 32))
self.btnUpRight.setFlat(True)
self.btnUpRight.setObjectName(_fromUtf8("btnUpRight"))
self.gridLayout.addWidget(self.btnUpRight, 0, 3, 1, 1)
self.btnUp = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnUp.sizePolicy().hasHeightForWidth())
self.btnUp.setSizePolicy(sizePolicy)
self.btnUp.setStyleSheet(_fromUtf8(""))
self.btnUp.setText(_fromUtf8(""))
icon1 = QtGui.QIcon()
icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/Project/arrow_12.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.btnUp.setIcon(icon1)
self.btnUp.setIconSize(QtCore.QSize(32, 32))
self.btnUp.setFlat(True)
self.btnUp.setObjectName(_fromUtf8("btnUp"))
self.gridLayout.addWidget(self.btnUp, 0, 2, 1, 1)
self.btnLeft = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnLeft.sizePolicy().hasHeightForWidth())
self.btnLeft.setSizePolicy(sizePolicy)
self.btnLeft.setStyleSheet(_fromUtf8(""))
self.btnLeft.setText(_fromUtf8(""))
icon2 = QtGui.QIcon()
icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/Project/arrow_9.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.btnLeft.setIcon(icon2)
self.btnLeft.setIconSize(QtCore.QSize(32, 32))
self.btnLeft.setFlat(True)
self.btnLeft.setObjectName(_fromUtf8("btnLeft"))
self.gridLayout.addWidget(self.btnLeft, 1, 1, 1, 1)
self.btnDownLeft = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnDownLeft.sizePolicy().hasHeightForWidth())
self.btnDownLeft.setSizePolicy(sizePolicy)
self.btnDownLeft.setStyleSheet(_fromUtf8(""))
self.btnDownLeft.setText(_fromUtf8(""))
icon3 = QtGui.QIcon()
icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/Project/arrow_8.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.btnDownLeft.setIcon(icon3)
self.btnDownLeft.setIconSize(QtCore.QSize(32, 32))
self.btnDownLeft.setAutoRepeat(False)
self.btnDownLeft.setAutoExclusive(False)
self.btnDownLeft.setAutoRepeatDelay(0)
self.btnDownLeft.setAutoRepeatInterval(0)
self.btnDownLeft.setFlat(True)
self.btnDownLeft.setObjectName(_fromUtf8("btnDownLeft"))
self.gridLayout.addWidget(self.btnDownLeft, 2, 1, 1, 1)
self.btnDown = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnDown.sizePolicy().hasHeightForWidth())
self.btnDown.setSizePolicy(sizePolicy)
self.btnDown.setStyleSheet(_fromUtf8(""))
self.btnDown.setText(_fromUtf8(""))
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(_fromUtf8(":/Project/arrow_6.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.btnDown.setIcon(icon4)
self.btnDown.setIconSize(QtCore.QSize(32, 32))
self.btnDown.setFlat(True)
self.btnDown.setObjectName(_fromUtf8("btnDown"))
self.gridLayout.addWidget(self.btnDown, 2, 2, 1, 1)
self.btnDownRight = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnDownRight.sizePolicy().hasHeightForWidth())
self.btnDownRight.setSizePolicy(sizePolicy)
self.btnDownRight.setStyleSheet(_fromUtf8(""))
self.btnDownRight.setText(_fromUtf8(""))
icon5 = QtGui.QIcon()
icon5.addPixmap(QtGui.QPixmap(_fromUtf8(":/Project/arrow_4.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.btnDownRight.setIcon(icon5)
self.btnDownRight.setIconSize(QtCore.QSize(32, 32))
self.btnDownRight.setCheckable(False)
self.btnDownRight.setAutoDefault(False)
self.btnDownRight.setDefault(False)
self.btnDownRight.setFlat(True)
self.btnDownRight.setObjectName(_fromUtf8("btnDownRight"))
self.gridLayout.addWidget(self.btnDownRight, 2, 3, 1, 1)
self.btnRight = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnRight.sizePolicy().hasHeightForWidth())
self.btnRight.setSizePolicy(sizePolicy)
self.btnRight.setStyleSheet(_fromUtf8(""))
self.btnRight.setText(_fromUtf8(""))
icon6 = QtGui.QIcon()
icon6.addPixmap(QtGui.QPixmap(_fromUtf8(":/Project/arrow_U.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.btnRight.setIcon(icon6)
self.btnRight.setIconSize(QtCore.QSize(32, 32))
self.btnRight.setFlat(True)
self.btnRight.setObjectName(_fromUtf8("btnRight"))
self.gridLayout.addWidget(self.btnRight, 1, 3, 1, 1)
self.btnUpLeft = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnUpLeft.sizePolicy().hasHeightForWidth())
self.btnUpLeft.setSizePolicy(sizePolicy)
self.btnUpLeft.setBaseSize(QtCore.QSize(6, 0))
self.btnUpLeft.setStyleSheet(_fromUtf8(""))
self.btnUpLeft.setText(_fromUtf8(""))
icon7 = QtGui.QIcon()
icon7.addPixmap(QtGui.QPixmap(_fromUtf8(":/Project/arrow_10.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.btnUpLeft.setIcon(icon7)
self.btnUpLeft.setIconSize(QtCore.QSize(32, 32))
self.btnUpLeft.setFlat(True)
self.btnUpLeft.setObjectName(_fromUtf8("btnUpLeft"))
self.gridLayout.addWidget(self.btnUpLeft, 0, 1, 1, 1)
self.pushButton_4 = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pushButton_4.sizePolicy().hasHeightForWidth())
self.pushButton_4.setSizePolicy(sizePolicy)
self.pushButton_4.setText(_fromUtf8(""))
icon8 = QtGui.QIcon()
icon8.addPixmap(QtGui.QPixmap(_fromUtf8(":/Project/rotate_01.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButton_4.setIcon(icon8)
self.pushButton_4.setIconSize(QtCore.QSize(32, 32))
self.pushButton_4.setFlat(True)
self.pushButton_4.setObjectName(_fromUtf8("pushButton_4"))
self.gridLayout.addWidget(self.pushButton_4, 0, 4, 1, 1)
self.pushButton = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pushButton.sizePolicy().hasHeightForWidth())
self.pushButton.setSizePolicy(sizePolicy)
self.pushButton.setText(_fromUtf8(""))
icon9 = QtGui.QIcon()
icon9.addPixmap(QtGui.QPixmap(_fromUtf8(":/Project/rotate_04.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButton.setIcon(icon9)
self.pushButton.setIconSize(QtCore.QSize(32, 32))
self.pushButton.setFlat(True)
self.pushButton.setObjectName(_fromUtf8("pushButton"))
self.gridLayout.addWidget(self.pushButton, 0, 0, 1, 1)
self.pushButton_3 = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pushButton_3.sizePolicy().hasHeightForWidth())
self.pushButton_3.setSizePolicy(sizePolicy)
self.pushButton_3.setText(_fromUtf8(""))
icon10 = QtGui.QIcon()
icon10.addPixmap(QtGui.QPixmap(_fromUtf8(":/Project/rotate_02.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButton_3.setIcon(icon10)
self.pushButton_3.setIconSize(QtCore.QSize(32, 32))
self.pushButton_3.setFlat(True)
self.pushButton_3.setObjectName(_fromUtf8("pushButton_3"))
self.gridLayout.addWidget(self.pushButton_3, 2, 0, 1, 1)
self.pushButton_6 = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.pushButton_6.sizePolicy().hasHeightForWidth())
self.pushButton_6.setSizePolicy(sizePolicy)
self.pushButton_6.setText(_fromUtf8(""))
icon11 = QtGui.QIcon()
icon11.addPixmap(QtGui.QPixmap(_fromUtf8(":/Project/rotate_03.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.pushButton_6.setIcon(icon11)
self.pushButton_6.setIconSize(QtCore.QSize(32, 32))
self.pushButton_6.setFlat(True)
self.pushButton_6.setObjectName(_fromUtf8("pushButton_6"))
self.gridLayout.addWidget(self.pushButton_6, 2, 4, 1, 1)
self.verticalLayout.addLayout(self.gridLayout)
self.line = QtGui.QFrame(self.groupBox)
self.line.setFrameShape(QtGui.QFrame.HLine)
self.line.setFrameShadow(QtGui.QFrame.Sunken)
self.line.setObjectName(_fromUtf8("line"))
self.verticalLayout.addWidget(self.line)
self.horizontalLayout_3 = QtGui.QHBoxLayout()
self.horizontalLayout_3.setSpacing(3)
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
self.btnMirrorU = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnMirrorU.sizePolicy().hasHeightForWidth())
self.btnMirrorU.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.btnMirrorU.setFont(font)
self.btnMirrorU.setObjectName(_fromUtf8("btnMirrorU"))
self.horizontalLayout_3.addWidget(self.btnMirrorU)
self.btnMirrorV = QtGui.QPushButton(self.groupBox)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnMirrorV.sizePolicy().hasHeightForWidth())
self.btnMirrorV.setSizePolicy(sizePolicy)
font = QtGui.QFont()
font.setBold(False)
font.setWeight(50)
self.btnMirrorV.setFont(font)
self.btnMirrorV.setObjectName(_fromUtf8("btnMirrorV"))
self.horizontalLayout_3.addWidget(self.btnMirrorV)
self.verticalLayout.addLayout(self.horizontalLayout_3)
self.verticalLayout_2.addWidget(self.groupBox)
MainWindow.setCentralWidget(self.centralwidget)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
self.lineEdit.setPlaceholderText(_translate("MainWindow", "type number", None))
self.btnMirrorU.setText(_translate("MainWindow", "Mirror U", None))
self.btnMirrorV.setText(_translate("MainWindow", "Mirror V", None))
import developer.main.source.IconResource_rc
| [
"trungswat@8bed79ed-7f0b-6351-1bc4-4d70257ffec2"
] | trungswat@8bed79ed-7f0b-6351-1bc4-4d70257ffec2 |
1b5b98a0ebbbde2b3c9439d1ebe83df300ce4cec | e5eec1428da1d24d3e9b86f5723c51cd2ca636cd | /graph/크루스칼 알고리즘.py | ae3bd36d2be0371b0a25c5e8ea7b41ba0d1f97a7 | [] | no_license | jamwomsoo/Algorithm_prac | 3c36c381f59277721517d331a8f1640399d80c1d | 8393f3cc2f950214c47f3cf0b2c1271791f115d0 | refs/heads/master | 2023-06-09T06:49:14.739255 | 2021-06-18T06:41:01 | 2021-06-18T06:41:01 | 325,227,295 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,385 | py | # 특정 원소가 속한 집합을 찾기
def find_parent(parent, x):
# 루트 노드가 아니라면, 루트 노드를 찾을 때까지 재귀적으로 호출
if parent[x] != x:
parent[x] = find_parent(parent, parent[x])
return parent[x]
# 두 원소가 속한 집합을 합치기
def union_parent(parent, a, b):
a = find_parent(parent, a)
b = find_parent(parent, b)
if a < b:
parent[b] = a
else:
parent[a] = b
# 노드의 개수와 간선(union 연산)의 개수 입력받기
v, e = map(int,input().split())
parent = [0] * (v + 1) # 부모 테이블 초기화
# 모든 간선을 담을 리스트와 최종 비용을 담을 변수
edges = []
result = 0
# 부모 테이블상에서, 부모를 자기 자신으로 초기화
for i in range(1, v + 1):
parent[i] = i
# 모든 간선에 대한 정보를 입력받기
for i in range(e):
a, b, cost = map(int, input().split())
# 비용순으로 정렬하기 위해서 튜플의 첫 번째 원소를 비용으로 설정
edges.append((cost, a, b))
# 간선을 비용순으로 정렬
edges.sort()
# 간선을 하나씩 확인하며
for edge in edges:
cost, a, b = edge
#사이클이 발생하지 않는 경우에만 집합에 포함
if find_parent(parent, a) != find_parent(parent, b):
union_parent(parent, a, b)
result+=cost
print(result)
| [
"[email protected]"
] | |
2bea1ae3617b943a23524ad0d2ec64b1e7edbabf | 38422c3edeb269926502fed31a0761aff8dd3d3b | /Swanepoel_analysis/Swanepoel_Python3_PyQt5_v180101/Swanepoel_GUI_v5.py | 1e6a933adde3406d72566e4c768e5fbd2247c0b9 | [] | no_license | vfurtula/Alle-projekter | 2dab3ccbf7ddb6be3ee09f9f5e87085f354dd84a | da3d7c9611088043e2aea5d844f1ae6056215e04 | refs/heads/master | 2022-06-07T05:17:35.327228 | 2020-04-30T10:28:48 | 2020-04-30T10:28:48 | 260,180,957 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 40,164 | py | #!/usr/bin/python3
# -*- coding: utf-8 -*-
"""
Created on Fri Jan 12 09:06:01 2018
@author: Vedran Furtula
"""
import matplotlib.pyplot as plt
import os, sys, re, time, numpy, yagmail, configparser, pathlib
from PyQt5.QtCore import QObject, QThreadPool, QTimer, QRunnable, pyqtSignal, pyqtSlot, Qt
from PyQt5.QtGui import QFont
from PyQt5.QtWidgets import (QDialog, QWidget, QMainWindow, QCheckBox, QLCDNumber, QMessageBox, QGridLayout,
QInputDialog, QLabel, QLineEdit, QComboBox, QVBoxLayout,
QHBoxLayout, QApplication, QMenuBar, QPushButton, QFileDialog)
import Email_settings_dialog, Send_email_dialog, Load_config_dialog
class WorkerSignals(QObject):
# Create signals to be used
lcd = pyqtSignal(object)
pass_plots = pyqtSignal(object)
error = pyqtSignal(object)
finished = pyqtSignal()
class Worker(QRunnable):
'''
Worker thread
:param args: Arguments to make available to the run code
:param kwargs: Keywords arguments to make available to the run code
'''
def __init__(self, *argv):
super(Worker, self).__init__()
self.sender=argv[0]
self.signals = WorkerSignals()
def abort(self):
self.abort_flag=True
@pyqtSlot()
def run(self):
try:
if self.sender=='Raw data':
import get_raw
my_arg = get_raw.Get_raw()
elif self.sender=='Tmin and Tmax':
import get_Tmax_Tmin
my_arg = get_Tmax_Tmin.Get_Tmax_Tmin()
elif self.sender=='Std.Dev. in d':
import get_vary_igp
my_arg = get_vary_igp.Vary_igp()
elif self.sender=='Index n':
import get_m_d
my_arg = get_m_d.Gmd()
elif self.sender=='Absorption alpha':
import alpha
my_arg = alpha.Alpha()
elif self.sender=='Wavenumber k':
import k
my_arg = k.K_class()
self.signals.pass_plots.emit([my_arg, self.sender])
except Exception as inst:
self.signals.error.emit(str(inst))
self.signals.finished.emit()
class Run_gui(QMainWindow):
def __init__(self):
super().__init__()
self.initUI()
def initUI(self):
################### MENU BARS START ##################
MyBar = QMenuBar(self)
fileMenu = MyBar.addMenu("File")
self.fileSave = fileMenu.addAction("Save thinfilm config")
self.fileSave.triggered.connect(self.set_save_config)
self.fileSave.setShortcut('Ctrl+S')
self.fileSaveAs = fileMenu.addAction("Add config section")
self.fileSaveAs.triggered.connect(self.addConfigSec)
self.fileLoadAs = fileMenu.addAction("Load config section")
self.fileLoadAs.triggered.connect(self.load_config_dialog)
fileClose = fileMenu.addAction("Close")
fileClose.triggered.connect(self.close) # triggers closeEvent()
fileClose.setShortcut('Ctrl+X')
self.loadMenu = MyBar.addMenu("Load data")
loadSubOlis = self.loadMenu.addAction("OLIS sub")
loadSubFilmOlis = self.loadMenu.addAction("OLIS sub + thin film")
loadSubFTIR = self.loadMenu.addAction("FTIR sub")
loadSubFilmFTIR = self.loadMenu.addAction("FTIR sub + thin film")
loadSubOlis.triggered.connect(self.loadSubOlisDialog)
loadSubFilmOlis.triggered.connect(self.loadSubFilmOlisDialog)
loadSubFTIR.triggered.connect(self.loadSubFTIRDialog)
loadSubFilmFTIR.triggered.connect(self.loadSubFilmFTIRDialog)
self.removeMenu = MyBar.addMenu("Remove data")
removeSubOlis = self.removeMenu.addAction("OLIS sub")
removeSubFilmOlis = self.removeMenu.addAction("OLIS sub + thin film")
removeSubFTIR = self.removeMenu.addAction("FTIR sub")
removeSubFilmFTIR = self.removeMenu.addAction("FTIR sub + thin film")
removeSubOlis.triggered.connect(self.removeSubOlisDialog)
removeSubFilmOlis.triggered.connect(self.removeSubFilmOlisDialog)
removeSubFTIR.triggered.connect(self.removeSubFTIRDialog)
removeSubFilmFTIR.triggered.connect(self.removeSubFilmFTIRDialog)
self.emailMenu = MyBar.addMenu("E-mail")
self.emailSettings = self.emailMenu.addAction("E-mail settings")
self.emailSettings.triggered.connect(self.email_set_dialog)
self.emailData = self.emailMenu.addAction("E-mail data")
self.emailData.triggered.connect(self.email_data_dialog)
helpMenu = MyBar.addMenu("Help")
helpParam = helpMenu.addAction("Instructions")
helpParam.triggered.connect(self.helpParamDialog)
contact = helpMenu.addAction("Contact")
contact.triggered.connect(self.contactDialog)
################### MENU BARS END ##################
# status info which button has been pressed
Start_lbl = QLabel("ANALYSIS steps and plots", self)
Start_lbl.setStyleSheet("color: blue")
self.Step0_Button = QPushButton("Raw data",self)
self.Step0_Button.setToolTip("STEP 0. Plot raw data for OLIS and FTIR")
self.button_style(self.Step0_Button,'black')
self.Step1_Button = QPushButton("Tmin and Tmax",self)
self.Step1_Button.setToolTip("STEP 1. Find all the minima and maxima positions using Gaussian filter")
self.button_style(self.Step1_Button,'black')
self.Step2_Button = QPushButton("Std.Dev. in d",self)
self.Step2_Button.setToolTip("STEP 2. Minimize standard deviation in the film thickness d")
self.button_style(self.Step2_Button,'black')
self.Step3_Button = QPushButton("Index n",self)
self.Step3_Button.setToolTip("STEP 3. Plot refractive indicies n1 and n2")
self.button_style(self.Step3_Button,'black')
self.Step4_Button = QPushButton("Absorption alpha",self)
self.Step4_Button.setToolTip("STEP 4. Plot abosorption alpha based on n2")
self.button_style(self.Step4_Button,'black')
self.Step5_Button = QPushButton("Wavenumber k",self)
self.Step5_Button.setToolTip("STEP 5. Plot wavenumber k based on n2")
self.button_style(self.Step5_Button,'black')
####################################################
# status info which button has been pressed
self.NewFiles = QLabel('No files created yet!', self)
self.NewFiles.setStyleSheet("color: blue")
newfont = QFont("Times", 9, QFont.Normal)
self.NewFiles.setFont(newfont)
'''
self.NewFiles = numpy.zeros(5,dtype=object)
for i in range(4):
self.NewFiles[i] = QLabel(''.join([str(i+1),': ']), self)
self.NewFiles[i].setStyleSheet("color: magenta")
'''
####################################################
loads_lbl = QLabel("RAW data files", self)
loads_lbl.setStyleSheet("color: blue")
configFile_lbl = QLabel("Current thinfilm", self)
self.config_file_lbl = QLabel("", self)
self.config_file_lbl.setStyleSheet("color: green")
loadSubOlis_lbl = QLabel("OLIS sub", self)
self.loadSubOlisFile_lbl = QLabel("", self)
self.loadSubOlisFile_lbl.setStyleSheet("color: magenta")
loadSubFilmOlis_lbl = QLabel("OLIS sub + thin film", self)
self.loadSubFilmOlisFile_lbl = QLabel("", self)
self.loadSubFilmOlisFile_lbl.setStyleSheet("color: magenta")
loadSubFTIR_lbl = QLabel("FTIR sub", self)
self.loadSubFTIRFile_lbl = QLabel("", self)
self.loadSubFTIRFile_lbl.setStyleSheet("color: magenta")
loadSubFilmFTIR_lbl = QLabel("FTIR sub + thin film", self)
self.loadSubFilmFTIRFile_lbl = QLabel("", self)
self.loadSubFilmFTIRFile_lbl.setStyleSheet("color: magenta")
self.cb_sub_olis = QCheckBox('',self)
self.cb_sub_olis.toggle()
self.cb_subfilm_olis = QCheckBox('',self)
self.cb_subfilm_olis.toggle()
self.cb_sub_ftir = QCheckBox('',self)
self.cb_sub_ftir.toggle()
self.cb_subfilm_ftir = QCheckBox('',self)
self.cb_subfilm_ftir.toggle()
plot_X_lbl = QLabel("Plot X axis in", self)
self.combo2 = QComboBox(self)
self.mylist2=["eV","nm"]
self.combo2.addItems(self.mylist2)
self.combo2.setFixedWidth(70)
####################################################
lbl1 = QLabel("GAUSSIAN filter settings", self)
lbl1.setStyleSheet("color: blue")
interpol_lbl = QLabel("Interpolation method", self)
self.combo4 = QComboBox(self)
self.mylist4=["spline","linear"]
self.combo4.setToolTip("Interpolation method for local minima Tmin and local maxima Tmax can only be linear or spline.")
self.combo4.addItems(self.mylist4)
self.combo4.setFixedWidth(70)
factors_lbl = QLabel("Gaussian factors", self)
self.factorsEdit = QLineEdit("",self)
self.factorsEdit.setToolTip("HIGH gaussian factor = broadband noise filtering.\nLOW gaussian factor = narrowband noise filtering.\nHigh gauissian factors (>2) will result in relatively large deviation from the raw data.\nGauissian factors of zero or near zero (<0.5) will closely follow trend of the raw data.")
self.factorsEdit.setFixedWidth(200)
borders_lbl = QLabel("Gaussian borders [eV]", self)
self.bordersEdit = QLineEdit("",self)
self.bordersEdit.setToolTip("Gaussian borders should be typed in ascending order and the number of\nborders is always one more compared with the number of Gaussian factors.")
self.bordersEdit.setFixedWidth(200)
##############################################
lbl2 = QLabel("ABSORPTION alpha and n1 and n2", self)
lbl2.setStyleSheet("color: blue")
poly_lbl = QLabel("Polyfit order", self)
self.combo1 = QComboBox(self)
self.mylist1=["1","2","3","4","5"]
self.combo1.addItems(self.mylist1)
self.combo1.setFixedWidth(70)
polybord_lbl = QLabel("Polyfit range(s) [eV]", self)
self.poly_bordersEdit = QLineEdit("", self)
self.poly_bordersEdit.setFixedWidth(140)
self.cb_polybord = QCheckBox('',self)
self.cb_polybord.toggle()
ignore_data_lbl = QLabel("No. of ignored points", self)
self.ignore_data_ptsEdit = QLineEdit("",self)
self.ignore_data_ptsEdit.setFixedWidth(140)
corr_slit_lbl = QLabel("Correction slit width [nm]", self)
self.corr_slitEdit = QLineEdit("",self)
self.corr_slitEdit.setToolTip("Finite spectrometer bandwidth (slit width) in the transmission spectrum.")
self.corr_slitEdit.setFixedWidth(140)
##############################################
lbl4 = QLabel("STORAGE location (folder/file)", self)
lbl4.setStyleSheet("color: blue")
self.filenameEdit = QLineEdit("",self)
#self.filenameEdit.setFixedWidth(180)
self.cb_save_figs = QCheckBox('Save figs',self)
self.cb_save_figs.toggle()
##############################################
self.lcd = QLCDNumber(self)
self.lcd.setStyleSheet("color: red")
self.lcd.setFixedHeight(60)
self.lcd.setSegmentStyle(QLCDNumber.Flat)
self.lcd.setToolTip("Timetrace for saving files")
self.lcd.setNumDigits(11)
##############################################
# Add all widgets
g1_0 = QGridLayout()
g1_0.addWidget(MyBar,0,0)
g1_1 = QGridLayout()
g1_1.addWidget(loads_lbl,0,0)
g1_1.addWidget(configFile_lbl,1,0)
g1_1.addWidget(self.config_file_lbl,1,1)
g1_1.addWidget(loadSubOlis_lbl,2,0)
g1_1.addWidget(self.loadSubOlisFile_lbl,2,1)
g1_1.addWidget(self.cb_sub_olis,2,2)
g1_1.addWidget(loadSubFilmOlis_lbl,3,0)
g1_1.addWidget(self.loadSubFilmOlisFile_lbl,3,1)
g1_1.addWidget(self.cb_subfilm_olis,3,2)
g1_1.addWidget(loadSubFTIR_lbl,4,0)
g1_1.addWidget(self.loadSubFTIRFile_lbl,4,1)
g1_1.addWidget(self.cb_sub_ftir,4,2)
g1_1.addWidget(loadSubFilmFTIR_lbl,5,0)
g1_1.addWidget(self.loadSubFilmFTIRFile_lbl,5,1)
g1_1.addWidget(self.cb_subfilm_ftir,5,2)
g1_1.addWidget(plot_X_lbl,6,0)
g1_1.addWidget(self.combo2,6,1)
g1_2 = QGridLayout()
g1_2.addWidget(lbl1,0,0)
g1_3 = QGridLayout()
g1_3.addWidget(interpol_lbl,0,0)
g1_3.addWidget(self.combo4,0,1)
g1_3.addWidget(factors_lbl,1,0)
g1_3.addWidget(self.factorsEdit,1,1)
g1_3.addWidget(borders_lbl,2,0)
g1_3.addWidget(self.bordersEdit,2,1)
g1_4 = QGridLayout()
g1_4.addWidget(lbl2,0,0)
g1_5 = QGridLayout()
g1_5.addWidget(poly_lbl,0,0)
g1_5.addWidget(self.combo1,0,1)
g1_5.addWidget(polybord_lbl,1,0)
g1_5.addWidget(self.poly_bordersEdit,1,1)
g1_5.addWidget(self.cb_polybord,1,2)
g1_5.addWidget(ignore_data_lbl,2,0)
g1_5.addWidget(self.ignore_data_ptsEdit,2,1)
g1_5.addWidget(corr_slit_lbl,3,0)
g1_5.addWidget(self.corr_slitEdit,3,1)
g4_0 = QGridLayout()
g4_0.addWidget(lbl4,0,0)
g4_0.addWidget(self.cb_save_figs,0,1)
g4_1 = QGridLayout()
g4_1.addWidget(self.filenameEdit,0,0)
v1 = QVBoxLayout()
v1.addLayout(g1_0)
v1.addLayout(g1_1)
v1.addLayout(g1_2)
v1.addLayout(g1_3)
v1.addLayout(g1_4)
v1.addLayout(g1_5)
v1.addLayout(g4_0)
v1.addLayout(g4_1)
###################################################
g1_6 = QGridLayout()
g1_6.addWidget(Start_lbl,0,0)
g1_7 = QGridLayout()
g1_7.addWidget(self.Step0_Button,0,0)
g1_7.addWidget(self.Step1_Button,1,0)
g1_7.addWidget(self.Step2_Button,2,0)
g1_7.addWidget(self.Step3_Button,3,0)
g1_7.addWidget(self.Step4_Button,4,0)
g1_7.addWidget(self.Step5_Button,5,0)
g1_8 = QGridLayout()
g1_8.addWidget(self.NewFiles,0,0)
g1_8.addWidget(self.lcd,1,0)
v0 = QVBoxLayout()
v0.addLayout(g1_6)
v0.addLayout(g1_7)
v0.addLayout(g1_8)
# SET ALL VERTICAL COLUMNS TOGETHER
hbox = QHBoxLayout()
hbox.addLayout(v1)
hbox.addLayout(v0)
###############################################################################
# reacts to choises picked in the menu
self.combo1.activated[str].connect(self.onActivated1)
self.combo2.activated[str].connect(self.onActivated2)
self.combo4.activated[str].connect(self.onActivated4)
# reacts to choises picked in the menu
self.Step0_Button.clicked.connect(self.set_run)
self.Step1_Button.clicked.connect(self.set_run)
self.Step2_Button.clicked.connect(self.set_run)
self.Step3_Button.clicked.connect(self.set_run)
self.Step4_Button.clicked.connect(self.set_run)
self.Step5_Button.clicked.connect(self.set_run)
# reacts to choises picked in the checkbox
self.cb_sub_olis.stateChanged.connect(self.sub_olis_check)
self.cb_subfilm_olis.stateChanged.connect(self.subfilm_olis_check)
self.cb_sub_ftir.stateChanged.connect(self.sub_ftir_check)
self.cb_subfilm_ftir.stateChanged.connect(self.subfilm_ftir_check)
self.cb_save_figs.stateChanged.connect(self.save_figs_check)
self.cb_polybord.stateChanged.connect(self.polybord_check)
self.set_load_config()
self.filenameEdit.setText(self.filename_str)
self.threadpool = QThreadPool()
print("Multithreading in TEST_gui_v1 with maximum %d threads" % self.threadpool.maxThreadCount())
self.isRunning = False
self.move(0,0)
#self.setGeometry(50, 50, 800, 500)
hbox.setSizeConstraint(hbox.SetFixedSize)
self.setWindowTitle("Swanepoel - thickness and optical constants for thin films")
w = QWidget()
w.setLayout(hbox)
self.setCentralWidget(w)
self.show()
def bool_(self,txt):
if txt=="True":
return True
elif txt=="False":
return False
def set_field_vals(self):
self.config_file_lbl.setText(self.last_used_film)
head, tail = os.path.split(self.loadSubOlis_str)
self.loadSubOlisFile_lbl.setText(tail)
head, tail = os.path.split(self.loadSubFilmOlis_str)
self.loadSubFilmOlisFile_lbl.setText(tail)
head, tail = os.path.split(self.loadSubFTIR_str)
self.loadSubFTIRFile_lbl.setText(tail)
head, tail = os.path.split(self.loadSubFilmFTIR_str)
self.loadSubFilmFTIRFile_lbl.setText(tail)
##############################################
self.sub_olis_check(self.loadSubOlis_check)
self.cb_sub_olis.setChecked(self.loadSubOlis_check)
if self.loadSubOlis_str=='':
self.cb_sub_olis.setEnabled(False)
else:
self.cb_sub_olis.setEnabled(True)
self.subfilm_olis_check(self.loadSubFilmOlis_check)
self.cb_subfilm_olis.setChecked(self.loadSubFilmOlis_check)
if self.loadSubFilmOlis_str=='':
self.cb_subfilm_olis.setEnabled(False)
else:
self.cb_subfilm_olis.setEnabled(True)
self.sub_ftir_check(self.loadSubFTIR_check)
self.cb_sub_ftir.setChecked(self.loadSubFTIR_check)
if self.loadSubFTIR_str=='':
self.cb_sub_ftir.setEnabled(False)
else:
self.cb_sub_ftir.setEnabled(True)
self.subfilm_ftir_check(self.loadSubFilmFTIR_check)
self.cb_subfilm_ftir.setChecked(self.loadSubFilmFTIR_check)
if self.loadSubFilmFTIR_str=='':
self.cb_subfilm_ftir.setEnabled(False)
else:
self.cb_subfilm_ftir.setEnabled(True)
self.save_figs_check(self.save_figs)
self.cb_save_figs.setChecked(self.save_figs)
##############################################
if len(self.fit_poly_ranges)==0:
self.fit_poly_ranges_check=False
self.polybord_check(self.fit_poly_ranges_check)
self.cb_polybord.setChecked(self.fit_poly_ranges_check)
else:
self.polybord_check(self.fit_poly_ranges_check)
self.cb_polybord.setChecked(self.fit_poly_ranges_check)
##############################################
self.factorsEdit.setText(self.gaussian_factors)
self.bordersEdit.setText(self.gaussian_borders)
##############################################
self.combo1.setCurrentIndex(self.mylist1.index(self.fit_poly_order))
self.combo2.setCurrentIndex(self.mylist2.index(self.plot_X))
self.combo4.setCurrentIndex(self.mylist4.index(self.fit_linear_spline))
##############################################
self.poly_bordersEdit.setText(self.fit_poly_ranges)
self.ignore_data_ptsEdit.setText(self.ignore_data_pts)
self.corr_slitEdit.setText(self.corr_slit)
##############################################
self.NewFiles.setToolTip(''.join(["Display newly created and saved files in /",self.filename_str,"/"]))
self.lcd.display(self.timestr)
def button_style(self,button,color):
button.setStyleSheet(''.join(['QPushButton {background-color: lightblue; font-size: 18pt; color: ',color,'}']))
button.setFixedWidth(230)
button.setFixedHeight(60)
def addConfigSec(self):
sections = ', '.join( self.config.sections() )
#print(sections)
text, ok = QInputDialog.getText(self, 'Add Config Section Dialog',''.join(['Sections already registered in the config file:\n', sections ,'\n\nCreate a new config section name:']), text=self.last_used_film)
if ok:
try:
self.last_used_film = str(text)
self.config.add_section(self.last_used_film)
except configparser.DuplicateSectionError as e:
QMessageBox.critical(self, 'Message', str(e))
return
self.set_save_config()
self.set_load_config()
def loadSubOlisDialog(self):
options = QFileDialog.Options()
options |= QFileDialog.DontUseNativeDialog
files, _ = QFileDialog.getOpenFileNames(self,"Open files",''.join(['data','/']), "All Files (*);;Dat Files (*.dat);;Text Files (*.txt)", options=options)
for afile in files:
self.loadSubOlis_str = str(afile)
head, tail = os.path.split(str(afile))
self.loadSubOlisFile_lbl.setText(tail)
self.cb_sub_olis.setEnabled(True)
def loadSubFilmOlisDialog(self):
options = QFileDialog.Options()
options |= QFileDialog.DontUseNativeDialog
files, _ = QFileDialog.getOpenFileNames(self,"Open files",''.join(['data','/']), "All Files (*);;Dat Files (*.dat);;Text Files (*.txt)", options=options)
for afile in files:
self.loadSubFilmOlis_str = str(afile)
head, tail = os.path.split(str(afile))
self.loadSubFilmOlisFile_lbl.setText(tail)
self.cb_subfilm_olis.setEnabled(True)
def loadSubFTIRDialog(self):
options = QFileDialog.Options()
options |= QFileDialog.DontUseNativeDialog
files, _ = QFileDialog.getOpenFileNames(self,"Open files",''.join(['data','/']), "All Files (*);;Dat Files (*.dat);;Text Files (*.txt)", options=options)
for afile in files:
self.loadSubFTIR_str = str(afile)
head, tail = os.path.split(str(afile))
self.loadSubFTIRFile_lbl.setText(tail)
self.cb_sub_ftir.setEnabled(True)
def loadSubFilmFTIRDialog(self):
options = QFileDialog.Options()
options |= QFileDialog.DontUseNativeDialog
files, _ = QFileDialog.getOpenFileNames(self,"Open files",''.join(['data','/']), "All Files (*);;Dat Files (*.dat);;Text Files (*.txt)", options=options)
for afile in files:
self.loadSubFilmFTIR_str = str(afile)
head, tail = os.path.split(str(afile))
self.loadSubFilmFTIRFile_lbl.setText(tail)
self.cb_subfilm_ftir.setEnabled(True)
def removeSubOlisDialog(self):
self.loadSubOlis_str = ''
self.loadSubOlisFile_lbl.setText(self.loadSubOlis_str)
self.loadSubOlis_check=False
self.sub_olis_check(self.loadSubOlis_check)
self.cb_sub_olis.setChecked(self.loadSubOlis_check)
self.cb_sub_olis.setEnabled(False)
def removeSubFilmOlisDialog(self):
self.loadSubFilmOlis_str = ''
self.loadSubFilmOlisFile_lbl.setText(self.loadSubFilmOlis_str)
self.loadSubFilmOlis_check = False
self.subfilm_olis_check(self.loadSubFilmOlis_check)
self.cb_subfilm_olis.setChecked(self.loadSubFilmOlis_check)
self.cb_subfilm_olis.setEnabled(False)
def removeSubFTIRDialog(self):
self.loadSubFTIR_str = ''
self.loadSubFTIRFile_lbl.setText(self.loadSubFTIR_str)
self.loadSubFTIR_check = False
self.sub_ftir_check(self.loadSubFTIR_check)
self.cb_sub_ftir.setChecked(self.loadSubFTIR_check)
self.cb_sub_ftir.setEnabled(False)
def removeSubFilmFTIRDialog(self):
self.loadSubFilmFTIR_str = ''
self.loadSubFilmFTIRFile_lbl.setText(self.loadSubFilmFTIR_str)
self.loadSubFilmFTIR_check = False
self.subfilm_ftir_check(self.loadSubFilmFTIR_check)
self.cb_subfilm_ftir.setChecked(self.loadSubFilmFTIR_check)
self.cb_subfilm_ftir.setEnabled(False)
def load_config_dialog(self):
self.Load_config_dialog = Load_config_dialog.Load_config_dialog(self, self.config)
self.Load_config_dialog.exec()
self.set_load_config()
def email_data_dialog(self):
self.Send_email_dialog = Send_email_dialog.Send_email_dialog(self, self.config)
self.Send_email_dialog.exec()
def email_set_dialog(self):
self.Email_dialog = Email_settings_dialog.Email_dialog(self, self.lcd, self.config)
self.Email_dialog.exec()
def helpParamDialog(self):
helpfile=''
with open('config_Swanepoel_forklaringer.py','r') as f:
for line in f:
helpfile = helpfile+line
msg = QMessageBox()
msg.setIcon(QMessageBox.Information)
msg.setText("Apply Swanepoel analysis using following steps:")
msg.setInformativeText(helpfile)
msg.setWindowTitle("Help")
#msg.setDetailedText(helpfile)
msg.setStandardButtons(QMessageBox.Ok)
#msg.setGeometry(1000, 0, 1000+250, 350)
msg.exec_()
def contactDialog(self):
QMessageBox.information(self, "Contact information","Suggestions, comments or bugs can be reported to [email protected]")
def onActivated1(self, text):
self.fit_poly_order = int(text)
def onActivated2(self, text):
self.plot_X = str(text)
def onActivated4(self, text):
self.fit_linear_spline=str(text)
def save_figs_check(self, state):
if state in [Qt.Checked,True]:
self.save_figs=True
else:
self.save_figs=False
def sub_olis_check(self, state):
if state in [Qt.Checked,True]:
self.loadSubOlis_check=True
self.loadSubOlisFile_lbl.setStyleSheet("color: magenta")
self.cb_sub_olis.setText('incl')
else:
self.loadSubOlis_check=False
self.loadSubOlisFile_lbl.setStyleSheet("color: grey")
self.cb_sub_olis.setText('exc')
def subfilm_olis_check(self, state):
if state in [Qt.Checked,True]:
self.loadSubFilmOlis_check=True
self.loadSubFilmOlisFile_lbl.setStyleSheet("color: magenta")
self.cb_subfilm_olis.setText('incl')
else:
self.loadSubFilmOlis_check=False
self.loadSubFilmOlisFile_lbl.setStyleSheet("color: grey")
self.cb_subfilm_olis.setText('exc')
def sub_ftir_check(self, state):
if state in [Qt.Checked,True]:
self.loadSubFTIR_check=True
self.loadSubFTIRFile_lbl.setStyleSheet("color: magenta")
self.cb_sub_ftir.setText('incl')
else:
self.loadSubFTIR_check=False
self.loadSubFTIRFile_lbl.setStyleSheet("color: grey")
self.cb_sub_ftir.setText('exc')
def subfilm_ftir_check(self, state):
if state in [Qt.Checked,True]:
self.loadSubFilmFTIR_check=True
self.loadSubFilmFTIRFile_lbl.setStyleSheet("color: magenta")
self.cb_subfilm_ftir.setText('incl')
else:
self.loadSubFilmFTIR_check=False
self.loadSubFilmFTIRFile_lbl.setStyleSheet("color: grey")
self.cb_subfilm_ftir.setText('exc')
def polybord_check(self, state):
if state in [Qt.Checked,True]:
self.fit_poly_ranges_check=True
self.poly_bordersEdit.setEnabled(True)
self.cb_polybord.setText('incl')
else:
self.fit_poly_ranges_check=False
self.poly_bordersEdit.setEnabled(False)
self.cb_polybord.setText('exc')
############################################################
# Check input if a number, ie. digits or fractions such as 3.141
# Source: http://www.pythoncentral.io/how-to-check-if-a-string-is-a-number-in-python-including-unicode/
def is_int(self,s):
try:
int(s)
return True
except ValueError:
return False
def is_number(self,s):
try:
float(s)
return True
except ValueError:
pass
try:
import unicodedata
unicodedata.numeric(s)
return True
except (TypeError, ValueError):
pass
return False
def create_file(self,mystr):
head, tail = os.path.split(mystr)
# Check for possible name conflicts
if tail:
saveinfile=''.join([tail,self.timestr])
else:
saveinfile=''.join(["data_",self.timestr])
if head:
if not os.path.isdir(head):
pathlib.Path(head).mkdir(parents=True, exist_ok=True)
saveinfolder=''.join([head,"/"])
else:
saveinfolder=""
self.filename_str = ''.join([saveinfolder,saveinfile])
return ''.join([saveinfolder,saveinfile])
def set_run(self):
sender = self.sender()
## gaussian_borders and gaussian_factors warnings and errors
gaus_bord=str(self.bordersEdit.text()).split(',')
for tal in gaus_bord:
if not self.is_number(tal):
QMessageBox.critical(self, 'Message', "Gaussian borders must be real numbers!")
return None
elif float(tal)<0.0:
QMessageBox.critical(self, 'Message', "Gaussian borders must be positive or zero!")
return None
if len(gaus_bord) < 2:
QMessageBox.critical(self, 'Message', "You must enter at least 2 gaussian borders!")
return None
if not numpy.array_equal([numpy.float(i) for i in gaus_bord],numpy.sort([numpy.float(i) for i in gaus_bord])):
QMessageBox.critical(self, 'Message', "The gaussian borders must be entered in the ascending order!")
return None
gaus_fact=str(self.factorsEdit.text()).split(',')
for tal in gaus_fact:
if not self.is_number(tal):
QMessageBox.critical(self, 'Message', "Gaussian factors must be real numbers!")
return None
elif float(tal)<0.0:
QMessageBox.critical(self, 'Message', "Gaussian factors must be positive or zero!")
return None
if len(gaus_fact) < 1:
QMessageBox.critical(self, 'Message', "You must enter at least 1 gaussian factor!")
return None
if len(gaus_bord) != len(gaus_fact)+1:
QMessageBox.critical(self, 'Message', "The number of gaussian factors is exactly one less than the number of gaussian borders!")
return None
## ignored data points warnings and errors
ign_pts=str(self.ignore_data_ptsEdit.text())
if not self.is_int(ign_pts):
QMessageBox.critical(self, 'Message', "The number of ignored points is an integer!")
return None
elif int(ign_pts)<0:
QMessageBox.critical(self, 'Message', "The number of ignored points is a positive integer!")
return None
## correction slit width warnings and errors
corr_pts=str(self.corr_slitEdit.text())
if not self.is_number(corr_pts):
QMessageBox.critical(self, 'Message', "The correction slit width is a real number!")
return None
elif float(corr_pts)<0:
QMessageBox.critical(self, 'Message', "The correction slit width is a positive number!")
return None
## fit_poly_ranges warnings and errors
if self.fit_poly_ranges_check==True:
polyfit_bord=str(self.poly_bordersEdit.text()).split(',')
for tal in polyfit_bord:
if not self.is_number(tal):
QMessageBox.critical(self, 'Message', "The polyfit range enteries must be real numbers!")
return None
elif float(tal)<0.0:
QMessageBox.critical(self, 'Message', "The polyfit range enteries must be positive or zero!")
return None
if len(polyfit_bord)<2 or len(polyfit_bord)%2!=0:
QMessageBox.critical(self, 'Message', "The polyfit range list accepts minimum 2 or even number of enteries!")
return None
if not numpy.array_equal([numpy.float(i) for i in polyfit_bord],numpy.sort([numpy.float(i) for i in polyfit_bord])):
QMessageBox.critical(self, 'Message', "The polyfit range list must be entered in ascending order!")
return None
# When all user defined enteries are approved save the data
self.create_file(str(self.filenameEdit.text()))
self.set_save_config()
self.set_load_config()
if sender.text()!='Raw data':
## raw data files warnings and errors
if not self.loadSubOlis_check and not self.loadSubFilmOlis_check:
pass
elif self.loadSubOlis_check and self.loadSubFilmOlis_check:
pass
else:
QMessageBox.critical(self, 'Message', "Select both OLIS data files subfilmRAW and subRAW!")
return None
if not self.loadSubFTIR_check and not self.loadSubFilmFTIR_check:
pass
elif self.loadSubFTIR_check and self.loadSubFilmFTIR_check:
pass
else:
QMessageBox.critical(self, 'Message', "Select both FTIR data files subfilmRAW and subRAW!")
return None
if not self.loadSubOlis_check and not self.loadSubFilmOlis_check and not self.loadSubFTIR_check and not self.loadSubFilmFTIR_check:
QMessageBox.critical(self, 'Message', "No data files selected!")
return None
if sender.text()=='Raw data':
if not self.loadSubOlis_check and not self.loadSubFilmOlis_check and not self.loadSubFTIR_check and not self.loadSubFilmFTIR_check:
QMessageBox.critical(self, 'Message', "No raw data files selected!")
return
self.button_style(self.Step0_Button,'red')
self.button_style(self.Step1_Button,'grey')
self.button_style(self.Step2_Button,'grey')
self.button_style(self.Step3_Button,'grey')
self.button_style(self.Step4_Button,'grey')
self.button_style(self.Step5_Button,'grey')
elif sender.text()=='Tmin and Tmax':
self.button_style(self.Step1_Button,'red')
self.button_style(self.Step0_Button,'grey')
self.button_style(self.Step2_Button,'grey')
self.button_style(self.Step3_Button,'grey')
self.button_style(self.Step4_Button,'grey')
self.button_style(self.Step5_Button,'grey')
elif sender.text()=='Std.Dev. in d':
self.button_style(self.Step2_Button,'red')
self.button_style(self.Step0_Button,'grey')
self.button_style(self.Step1_Button,'grey')
self.button_style(self.Step3_Button,'grey')
self.button_style(self.Step4_Button,'grey')
self.button_style(self.Step5_Button,'grey')
elif sender.text()=='Index n':
self.button_style(self.Step3_Button,'red')
self.button_style(self.Step0_Button,'grey')
self.button_style(self.Step1_Button,'grey')
self.button_style(self.Step2_Button,'grey')
self.button_style(self.Step4_Button,'grey')
self.button_style(self.Step5_Button,'grey')
elif sender.text()=='Absorption alpha':
self.button_style(self.Step4_Button,'red')
self.button_style(self.Step0_Button,'grey')
self.button_style(self.Step1_Button,'grey')
self.button_style(self.Step2_Button,'grey')
self.button_style(self.Step3_Button,'grey')
self.button_style(self.Step5_Button,'grey')
elif sender.text()=='Wavenumber k':
self.button_style(self.Step5_Button,'red')
self.button_style(self.Step0_Button,'grey')
self.button_style(self.Step1_Button,'grey')
self.button_style(self.Step2_Button,'grey')
self.button_style(self.Step3_Button,'grey')
self.button_style(self.Step4_Button,'grey')
else:
return
self.worker = Worker(sender.text())
self.worker.signals.pass_plots.connect(self.pass_plots)
self.worker.signals.finished.connect(self.finished)
# Execute
self.threadpool.start(self.worker)
def pass_plots(self,obj):
my_obj, sender = obj
my_str=''
try:
self.datafiles=my_obj.make_plots()
for i,ii in zip(self.datafiles,range(len(self.datafiles))):
head, tail = os.path.split(i)
my_str+=''.join([str(ii+1),': ',tail,'\n'])
self.NewFiles.setText(my_str)
my_obj.show_plots()
except Exception as inst:
QMessageBox.critical(self, 'Message', str(inst))
def set_load_config(self):
# Initial read of the config file
self.config = configparser.ConfigParser()
try:
self.config.read('config.ini')
self.last_used_film = self.config.get('DEFAULT','last_used_film')
self.loadSubOlis_str = self.config.get(self.last_used_film,"loadsubolis").strip().split(':')[0]
self.loadSubOlis_check = self.bool_(self.config.get(self.last_used_film,'loadsubolis').strip().split(':')[1])
self.loadSubFilmOlis_str = self.config.get(self.last_used_film,'loadsubfilmolis').strip().split(':')[0]
self.loadSubFilmOlis_check = self.bool_(self.config.get(self.last_used_film,'loadsubfilmolis').strip().split(':')[1])
self.loadSubFTIR_str = self.config.get(self.last_used_film,'loadsubftir').strip().split(':')[0]
self.loadSubFTIR_check = self.bool_(self.config.get(self.last_used_film,'loadsubftir').strip().split(':')[1])
self.loadSubFilmFTIR_str = self.config.get(self.last_used_film,'loadsubfilmftir').strip().split(':')[0]
self.loadSubFilmFTIR_check = self.bool_(self.config.get(self.last_used_film,'loadsubfilmftir').strip().split(':')[1])
self.fit_linear_spline = self.config.get(self.last_used_film,'fit_linear_spline')
self.gaussian_factors = self.config.get(self.last_used_film,'gaussian_factors')
self.gaussian_borders = self.config.get(self.last_used_film,'gaussian_borders')
self.ignore_data_pts = self.config.get(self.last_used_film,'ignore_data_pts')
self.corr_slit = self.config.get(self.last_used_film,'corr_slit')
self.fit_poly_order = self.config.get(self.last_used_film,'fit_poly_order')
self.fit_poly_ranges = self.config.get(self.last_used_film,'fit_poly_ranges').strip().split(':')[0]
self.fit_poly_ranges_check = self.bool_(self.config.get(self.last_used_film,'fit_poly_ranges').strip().split(':')[1])
self.filename_str = self.config.get(self.last_used_film,'filename')
self.timestr = self.config.get(self.last_used_film,'timestr')
self.save_figs = self.bool_(self.config.get(self.last_used_film,'save_figs'))
self.plot_X = self.config.get(self.last_used_film,'plot_x')
self.emailset_str = self.config.get(self.last_used_film,'emailset').strip().split(',')
self.emailrec_str = self.config.get(self.last_used_film,'emailrec').strip().split(',')
except configparser.NoOptionError as nov:
QMessageBox.critical(self, 'Message',''.join(["Main FAULT while reading the config.ini file\n",str(nov)]))
raise
self.set_field_vals()
def set_save_config(self):
self.timestr=time.strftime("%y%m%d-%H%M")
self.lcd.display(self.timestr)
self.config.set('DEFAULT',"last_used_film", self.last_used_film )
self.config.set(self.last_used_film,"loadSubOlis", ':'.join([self.loadSubOlis_str, str(self.loadSubOlis_check)]) )
self.config.set(self.last_used_film,"loadSubFilmOlis", ':'.join([self.loadSubFilmOlis_str, str(self.loadSubFilmOlis_check)]) )
self.config.set(self.last_used_film,"loadSubFTIR", ':'.join([self.loadSubFTIR_str, str(self.loadSubFTIR_check)]) )
self.config.set(self.last_used_film,"loadSubFilmFTIR", ':'.join([self.loadSubFilmFTIR_str, str(self.loadSubFilmFTIR_check)]) )
self.config.set(self.last_used_film,"fit_linear_spline", self.fit_linear_spline )
self.config.set(self.last_used_film,"gaussian_factors", str(self.factorsEdit.text()) )
self.config.set(self.last_used_film,"gaussian_borders", str(self.bordersEdit.text()) )
self.config.set(self.last_used_film,"ignore_data_pts", str(self.ignore_data_ptsEdit.text()) )
self.config.set(self.last_used_film,"corr_slit", str(self.corr_slitEdit.text()) )
self.config.set(self.last_used_film,"fit_poly_order", str(self.fit_poly_order) )
self.config.set(self.last_used_film,"fit_poly_ranges", ':'.join([ str(self.poly_bordersEdit.text()), str(self.fit_poly_ranges_check)]) )
self.config.set(self.last_used_film,"filename", str(self.filenameEdit.text()) )
self.config.set(self.last_used_film,"timestr", self.timestr )
self.config.set(self.last_used_film,"save_figs", str(self.save_figs) )
self.config.set(self.last_used_film,"plot_x", self.plot_X )
self.config.set(self.last_used_film, 'emailset', ','.join([i for i in self.emailset_str]))
self.config.set(self.last_used_film, 'emailrec', ','.join([i for i in self.emailrec_str]))
with open('config.ini', 'w') as configfile:
self.config.write(configfile)
def send_notif(self):
try:
self.yag = yagmail.SMTP(self.emailset_str[0])
self.yag.send(to=self.emailrec_str, subject="Simulation is done!", contents="Simulation is done.")
except Exception as e:
QMessageBox.warning(self, 'Message',''.join(["Could not load the gmail account ",self.emailset_str[0],"! Try following steps:\n1. Check internet connection. Only wired internet will work, ie. no wireless.\n2. Check the account username and password.\n3. Make sure that the account accepts less secure apps."]))
def send_data(self):
print(self.datafiles)
try:
self.yag = yagmail.SMTP(self.emailset_str[0])
mycont=["Simulation is done and the simulated data is attached to this email."]
mycont.extend(self.datafiles)
self.yag.send( to=self.emailrec_str, subject="Microstepper data from the latest scan!", contents=mycont )
except Exception as e:
QMessageBox.warning(self, 'Message',''.join(["Could not load gmail account ",self.emailset_str[0],"! Try following steps:\n1. Check internet connection. Only wired internet will work, ie. no wireless.\n2. Check the account username and password.\n3. Make sure that the account accepts less secure apps."]))
def finished(self):
if self.emailset_str[1] == "yes":
self.send_notif()
if self.emailset_str[2] == "yes":
self.send_data()
self.button_style(self.Step0_Button,'black')
self.button_style(self.Step1_Button,'black')
self.button_style(self.Step2_Button,'black')
self.button_style(self.Step3_Button,'black')
self.button_style(self.Step4_Button,'black')
self.button_style(self.Step5_Button,'black')
def allButtons_torf(self,trueorfalse,*argv):
if argv[0]=='allfalse':
self.cb_sub_olis.setEnabled(False)
self.cb_subfilm_olis.setEnabled(False)
self.cb_sub_ftir.setEnabled(False)
self.cb_subfilm_ftir.setEnabled(False)
self.poly_bordersEdit.setEnabled(False)
self.fileSave.setEnabled(trueorfalse)
self.fileSaveAs.setEnabled(trueorfalse)
self.loadMenu.setEnabled(trueorfalse)
self.emailMenu.setEnabled(trueorfalse)
self.removeMenu.setEnabled(trueorfalse)
self.cb_save_figs.setEnabled(trueorfalse)
self.cb_polybord.setEnabled(trueorfalse)
self.Step0_Button.setEnabled(trueorfalse)
self.Step1_Button.setEnabled(trueorfalse)
self.Step2_Button.setEnabled(trueorfalse)
self.Step3_Button.setEnabled(trueorfalse)
self.Step4_Button.setEnabled(trueorfalse)
self.Step5_Button.setEnabled(trueorfalse)
self.combo1.setEnabled(trueorfalse)
self.combo2.setEnabled(trueorfalse)
self.combo4.setEnabled(trueorfalse)
self.factorsEdit.setEnabled(trueorfalse)
self.bordersEdit.setEnabled(trueorfalse)
self.ignore_data_ptsEdit.setEnabled(trueorfalse)
self.corr_slitEdit.setEnabled(trueorfalse)
self.filenameEdit.setEnabled(trueorfalse)
def closeEvent(self,event):
reply = QMessageBox.question(self, 'Message', "Quit now?", QMessageBox.Yes | QMessageBox.No)
if reply == QMessageBox.Yes:
event.accept()
elif reply == QMessageBox.No:
event.ignore()
#########################################
#########################################
#########################################
def main():
app = QApplication(sys.argv)
ex = Run_gui()
#sys.exit(app.exec_())
# avoid message 'Segmentation fault (core dumped)' with app.deleteLater()
app.exec()
app.deleteLater()
sys.exit()
if __name__ == '__main__':
main()
| [
"[email protected]"
] | |
a439223a06d02e7d8088ceb8471a3751f271d18a | 2e0e549394fefc3e7332170603f0be3b96fcb8f5 | /src/compas_ghpython/artists/lineartist.py | e6f8a82ad85c337d0de61df00022aa80fe98d0ce | [
"MIT"
] | permissive | irfanirw/compas | 02f6f15dc2e20de886faf5d77420fd55f6a03c4e | 41048e71610c3e063e3e9085440b3cba0a00b603 | refs/heads/master | 2022-11-29T18:59:18.344232 | 2020-08-17T19:04:14 | 2020-08-17T19:04:14 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,093 | py | from __future__ import print_function
from __future__ import absolute_import
from __future__ import division
import compas_ghpython
from compas_ghpython.artists.primitiveartist import PrimitiveArtist
__all__ = ['LineArtist']
class LineArtist(PrimitiveArtist):
"""Artist for drawing lines.
Parameters
----------
primitive : :class:`compas.geometry.Line`
A COMPAS line.
Other Parameters
----------------
See :class:`compas_ghpython.artists.PrimitiveArtist` for all other parameters.
Examples
--------
>>>
"""
def draw(self):
"""Draw the line.
Returns
-------
list of :class:`Rhino.Geometry.Line`
"""
start = list(self.primitive.start)
end = list(self.primitive.end)
lines = [{'start': start, 'end': end}]
return compas_ghpython.draw_lines(lines)
# ==============================================================================
# Main
# ==============================================================================
if __name__ == "__main__":
pass
| [
"[email protected]"
] | |
b124149598b75875c924a95d429ff80af9708bdd | c9bae3b822cf8c098e656486d455d88646d1712b | /starnavi_task/settings.py | db077ea080b9e03e959ce8620862d8c3de3557a8 | [] | no_license | sergiy-chumachenko/starnavi | f9967eeeec8803b58ecb0bdab28063431afc9cc7 | 1aa901ba42be1ef4322c9766ec58edecca07ce74 | refs/heads/master | 2022-12-10T20:25:46.923932 | 2020-07-18T17:22:07 | 2020-07-18T17:22:07 | 172,897,429 | 2 | 0 | null | 2022-12-08T01:39:44 | 2019-02-27T10:49:10 | Python | UTF-8 | Python | false | false | 5,260 | py | """
Django settings for starnavi_task project.
Generated by 'django-admin startproject' using Django 2.1.7.
For more information on this file, see
https://docs.djangoproject.com/en/2.1/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/2.1/ref/settings/
"""
import os
import environ
import datetime
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
ROOT_DIR = environ.Path(__file__) - 2
env = environ.Env(
DJANGO_DEBUG=(bool, False),
DJANGO_SECRET_KEY=(str, 'CHANGEME!!!e8!1671ifpp362f9gbd3v@e($0_flznbb3fa2d4zg7zn@%yyk2'),
DJANGO_ALLOWED_HOSTS=(list, []),
DJANGO_STATIC_ROOT=(str, str(ROOT_DIR('static'))),
DJANGO_MEDIA_ROOT=(str, str(ROOT_DIR('media'))),
DJANGO_DATABASE_URL=(str, 'postgres://{USER}:{PASSWORD}@{HOST}:{PORT}/{DB_NAME}'),
CLEARBIT_API_SECRET_KEY=(str, 'CLEARBIT_API_SECRET_KEY'),
HUNTER_API_SECRET_KEY=(str, 'HUNTER_API_SECRET_KEY'),
HUNTER_VERIFICATION_LIMIT=(str, 'HUNTER_VERIFICATION_LIMIT')
)
environ.Env.read_env(env_file=os.path.join(str(ROOT_DIR), '.env'))
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/2.1/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = env.str("DJANGO_SECRET_KEY")
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = env.bool("DJANGO_DEBUG")
ALLOWED_HOSTS = env.list("DJANGO_ALLOWED_HOSTS")
# Application definition
DJANGO_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
]
THIRD_PARTY_APPS = [
'rest_framework',
'djoser'
]
LOCAL_APPS = [
'posts',
'users'
]
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
ROOT_URLCONF = 'starnavi_task.urls'
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'templates')]
,
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
WSGI_APPLICATION = 'starnavi_task.wsgi.application'
# Database
# https://docs.djangoproject.com/en/2.1/ref/settings/#databases
DATABASES = {
# 'default': {
# 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
# },
'default': env.db('DJANGO_DATABASE_URL')
}
# Password validation
# https://docs.djangoproject.com/en/2.1/ref/settings/#auth-password-validators
AUTH_PASSWORD_VALIDATORS = [
{
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]
# Internationalization
# https://docs.djangoproject.com/en/2.1/topics/i18n/
LANGUAGE_CODE = 'en-us'
TIME_ZONE = 'UTC'
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/2.1/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = env.str("DJANGO_STATIC_ROOT")
MEDIA_ROOT = env.str("DJANGO_MEDIA_ROOT")
REST_FRAMEWORK = {
'DEFAULT_RENDERER_CLASSES': (
'rest_framework.renderers.JSONRenderer',
'rest_framework.renderers.BrowsableAPIRenderer',
),
'DEFAULT_PARSER_CLASSES': (
'rest_framework.parsers.JSONParser',
'rest_framework.parsers.FormParser',
'rest_framework.parsers.MultiPartParser'
),
'DEFAULT_AUTHENTICATION_CLASSES': (
'rest_framework.authentication.TokenAuthentication',
'rest_framework_simplejwt.authentication.JWTAuthentication',
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.BasicAuthentication'
),
'DEFAULT_PERMISSION_CLASSES': (
'rest_framework.permissions.AllowAny',
),
}
SIMPLE_JWT = {
'AUTH_HEADER_TYPES': ('JWT',),
# 'JWT_EXPIRATION_DELTA': datetime.timedelta(minutes=30)
}
APPEND_SLASH = False
CLEARBIT_API_SECRET_KEY = env.str("CLEARBIT_API_SECRET_KEY")
HUNTER_IS_ACTIVE = False
HUNTER_API_SECRET_KEY = env.str("HUNTER_API_SECRET_KEY")
HUNTER_VERIFICATION_LIMIT = env.int("HUNTER_VERIFICATION_LIMIT")
| [
"[email protected]"
] | |
f59b3577b280e77e01de5f4b1a661591fa9d69c2 | 8d23f941ade6e18df9094760c4e3ad5676e96fef | /advanced/05/05pymsql.py | f0982c9fb3bf720ae5266437de8f47d03b214b74 | [] | no_license | asdwsxzc123/python | 95c7b6ed39d47a48e5a2630a3f221c20a8347764 | b2422a7c6b62d4bfa9d1488a6dff322a57ba4c48 | refs/heads/master | 2020-04-03T14:34:06.299282 | 2019-02-05T13:14:16 | 2019-02-05T13:14:16 | 155,326,540 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 547 | py | from pymysql import connect
# 链接数据库
conn = connect(host='172.16.20.46', port=3306, user='root', password='123456', database='jing_dong', charset='utf8')
# 获取cursor对象
cs1 = conn.cursor()
# sql注入
# # 执行select语句
# cs1.execute('select * from goods;')
# # print(row)
# for row in cs1.fetchall():
# print(row)
# 插入数据
cs1.execute('insert into goods_cates (name) values ("硬盘")')
# 插入数据需要提交
conn.commit()
# 删除数据
# conn.rollback()
# 关闭cursor和链接
cs1.close()
conn.close()
| [
"[email protected]"
] | |
e76a57551d81a6271b7c5fa8396a47b474218e4a | 432c55838cad26bb6233a799e35e9187a3451434 | /q2_diversity/tests/test_beta_correlation.py | f511afbe0c9ea946466122955ad84cfb567a9924 | [
"BSD-3-Clause"
] | permissive | wasade/q2-diversity | 5a46d7a34bfae05d26fd285f2bfd180e55d58f2a | cdcf24c551a8ca4246dce658fd6b608b174e224d | refs/heads/master | 2023-06-27T19:16:48.985517 | 2018-08-31T21:56:10 | 2018-08-31T21:56:10 | 150,510,254 | 0 | 0 | BSD-3-Clause | 2018-09-27T01:19:35 | 2018-09-27T01:19:35 | null | UTF-8 | Python | false | false | 1,744 | py | # ----------------------------------------------------------------------------
# Copyright (c) 2016-2018, QIIME 2 development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# ----------------------------------------------------------------------------
import unittest
import skbio
import pandas as pd
import qiime2
from qiime2 import Artifact
from qiime2.plugin.testing import TestPluginBase
class BetaCorrelationTests(TestPluginBase):
package = 'q2_diversity'
def setUp(self):
super().setUp()
self.beta_correlation = self.plugin.pipelines['beta_correlation']
dm = skbio.DistanceMatrix([[0, 1, 2],
[1, 0, 1],
[2, 1, 0]],
ids=['sample1', 'sample2', 'sample3'])
self.dm = Artifact.import_data('DistanceMatrix', dm)
self.md = qiime2.NumericMetadataColumn(
pd.Series([1, 2, 3], name='number',
index=pd.Index(['sample1', 'sample2', 'sample3'],
name='id')))
def test_execution(self):
# does it run?
self.beta_correlation(self.md, self.dm)
def test_outputs(self):
result = self.beta_correlation(self.md, self.dm)
# correct number of outputs?
self.assertEqual(2, len(result))
# correct types?
self.assertEqual('DistanceMatrix',
str(result.metadata_distance_matrix.type))
self.assertEqual('Visualization',
str(result.mantel_scatter_visualization.type))
if __name__ == '__main__':
unittest.main()
| [
"[email protected]"
] | |
ddbedb9961f05627dcdc40f9668733b593051ada | e7190289cea8006fb99a54347a57439cdd7047b8 | /stock/industry/tonghuashun_industry-master/industry_current.py | 3100023a4c07be3e3a7b23b8aae3a3b4853d9479 | [] | no_license | hong0396/start_up_git | 282fe3845ad4c81ee7b23785a73052e3a5749fea | a6f9fa2da126382577e05869ff5a2fc98e29a7fb | refs/heads/master | 2021-07-09T06:16:16.955217 | 2019-03-30T13:43:13 | 2019-03-30T13:43:13 | 119,171,188 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 3,030 | py | #coding:utf-8
from requests.exceptions import RequestException
from bs4 import BeautifulSoup
from selenium import webdriver
from sqlalchemy import create_engine
import datetime
import pymysql
import requests
import pandas as pd
import time
import random
import re
#获取动态cookies
def get_cookie():
options = webdriver.ChromeOptions()
options.add_argument('headless')
driver=webdriver.Chrome(chrome_options=options)
url="http://q.10jqka.com.cn/thshy/"
driver.get(url)
# 获取cookie列表
cookie=driver.get_cookies()
driver.close()
return cookie[0]['value']
#获取网页详情页
def get_page_detail(url):
headers = {'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36',
'Referer':'http://q.10jqka.com.cn/thshy/detail',
'Cookie':'v={}'.format(get_cookie())
}
try:
response = requests.get(url,headers =headers)
if response.status_code == 200:
return response.content
return None
except RequestException:
print('请求页面失败',url)
return None
#获取行业列表 名称title、代码code、链接url
def get_industry_list(url):
html = get_page_detail(url).decode('gbk')
soup = BeautifulSoup(html,'lxml')
industry_list = soup.select('.cate_items > a')
for industry in industry_list:
yield {
'title':industry.get_text(),
'code':industry.get('href').split('/')[-2],
'url':industry.get('href')
}
#获取行业最新数据
def get_instury_current(code,year):
url = 'http://d.10jqka.com.cn/v4/line/bk_{}/01/{}.js'.format(code,year)
html = get_page_detail(url).decode('gbk')
pattern = re.compile('{"data":"(.*?)"}',re.S)
instury = re.findall(pattern,html)[0].replace(';','').split(',')
i = len(instury)-8
yield {
'code':code,
'date':instury[i],
'open_price':instury[i+1],
'high_price':instury[i+2],
'low_price':instury[i+3],
'close_price':instury[i+4],
'volume':instury[i+5],
'amount':instury[i+6]
}
def save_to_mysql(code,year):
industry_current_info = get_instury_current(code,year)
industry_current_df = pd.DataFrame(industry_current_info)
print(industry_current_df.head(5))
engine = create_engine('mysql://liangzhi:[email protected]/financial_data?charset=utf8')
industry_current_df.to_sql('industry_history', engine, if_exists='append')
def main():
engine = create_engine('mysql://liangzhi:[email protected]/financial_data?charset=utf8')
instury_index_url = 'http://q.10jqka.com.cn/thshy/'
industry_index_info = get_industry_list(instury_index_url)
year =datetime.date.today().year
for i in industry_index_info:
code = i['code']
save_to_mysql(code,year)
time.sleep(random.randint(0,5))
if __name__ == '__main__':
main()
| [
"[email protected]"
] | |
f0eb93788821d074784c29b88e667723b67a6989 | 10d17864a685c025bb77959545f74b797f1d6077 | /capitulo 02/02.22.py | bbe2a8217430cbaaf8609a9daa1183c8464aeb0a | [] | no_license | jcicerof/IntroducaoPython | 02178d2dfcaa014587edbd3090c517089ccef7c2 | 02e619c7c17e74acdc3268fbfae9ab624a3601dd | refs/heads/master | 2020-04-24T18:12:21.422079 | 2019-02-23T05:14:43 | 2019-02-23T05:14:43 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 632 | py | ##############################################################################
# Parte do livro Introdução à Programação com Python
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2019
# Primeira edição - Novembro/2010 - ISBN 978-85-7522-250-8
# Segunda edição - Junho/2014 - ISBN 978-85-7522-408-3
# Terceira edição - Janeiro/2019 - ISBN 978-85-7522-718-3
# Site: http://python.nilo.pro.br/
#
# Arquivo: listagem3\capítulo 02\02.22.py
# Descrição:
##############################################################################
salário = 1500
aumento = 5
print(salário + (salário * aumento / 100))
| [
"[email protected]"
] | |
1b185f68bd117dbd36f56f53bb64319b0b1072cf | f8580d2c963b6a3c34e918e0743d0a503a9584bd | /unittests/test_dcDrawLists.py | f72721a02be41c67ddfde98034ae0e79396d6ec2 | [] | no_license | pypy/wxpython-cffi | f59c3faeed26e6a26d0c87f4f659f93e5366af28 | 877b7e6c1b5880517456f1960db370e4bb7f5c90 | refs/heads/master | 2023-07-08T21:13:22.765786 | 2016-12-02T22:10:45 | 2016-12-02T22:10:45 | 397,124,697 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,196 | py | import imp_unittest, unittest
import wtc
import wx
import random
try:
import numpy as np
haveNumpy = True
except ImportError:
haveNumpy = False
#---------------------------------------------------------------------------
w = 600
h = 400
num = 500
colornames = ["BLACK",
"BLUE",
"BLUE VIOLET",
"BROWN",
"CYAN",
"DARK GREY",
"DARK GREEN",
"GOLD",
"GREY",
"GREEN",
"MAGENTA",
"NAVY",
"PINK",
"RED",
"SKY BLUE",
"VIOLET",
"YELLOW",
]
pencache = {}
brushcache = {}
def makeRandomPoints():
pnts = []
for i in range(num):
x = random.randint(0, w)
y = random.randint(0, h)
pnts.append( (x,y) )
return pnts
def makeRandomLines():
lines = []
for i in range(num):
x1 = random.randint(0, w)
y1 = random.randint(0, h)
x2 = random.randint(0, w)
y2 = random.randint(0, h)
lines.append( (x1,y1, x2,y2) )
return lines
def makeRandomRectangles():
rects = []
for i in range(num):
W = random.randint(10, w/2)
H = random.randint(10, h/2)
x = random.randint(0, w - W)
y = random.randint(0, h - H)
rects.append( (x, y, W, H) )
return rects
def makeRandomPolygons():
Np = 8 # number of points per polygon
polys = []
for i in range(num):
poly = []
for i in range(Np):
x = random.randint(0, w)
y = random.randint(0, h)
poly.append( (x,y) )
polys.append( poly )
return polys
def makeRandomText():
Np = 8 # number of characters in text
text = []
for i in range(num):
word = []
for i in range(Np):
c = chr( random.randint(48, 122) )
word.append( c )
text.append( "".join(word) )
return text
def makeRandomColors():
colors = []
for i in range(num):
c = random.choice(colornames)
colors.append(wx.Colour(c))
return colors
def makeRandomPens():
pens = []
for i in range(num):
c = random.choice(colornames)
t = random.randint(1, 4)
if (c,t) not in pencache:
pencache[(c, t)] = wx.Pen(c, t)
pens.append( pencache[(c, t)] )
return pens
def makeRandomBrushes():
brushes = []
for i in range(num):
c = random.choice(colornames)
if c not in brushcache:
brushcache[c] = wx.Brush(c)
brushes.append( brushcache[c] )
return brushes
#---------------------------------------------------------------------------
class dcDrawLists_Tests(wtc.WidgetTestCase):
def test_dcDrawPointLists(self):
pnl = wx.Panel(self.frame)
self.frame.SetSize((w,h))
dc = wx.ClientDC(pnl)
dc.SetPen(wx.Pen("BLACK", 1))
pens = makeRandomPens()
dc.DrawPointList(makeRandomPoints())
dc.DrawPointList(makeRandomPoints(), wx.Pen("RED", 1))
dc.DrawPointList(makeRandomPoints(), pens)
del dc
@unittest.skipIf(not haveNumpy, "Numpy required for this test")
def test_dcDrawPointArray(self):
pnl = wx.Panel(self.frame)
self.frame.SetSize((w,h))
dc = wx.ClientDC(pnl)
dc.SetPen(wx.Pen("BLACK", 1))
pens = makeRandomPens()
dc.DrawPointList(np.array(makeRandomPoints()))
dc.DrawPointList(np.array(makeRandomPoints()), wx.Pen("RED", 1))
dc.DrawPointList(np.array(makeRandomPoints()), pens)
del dc
def test_dcDrawLineLists(self):
pnl = wx.Panel(self.frame)
self.frame.SetSize((w,h))
dc = wx.ClientDC(pnl)
dc.SetPen(wx.Pen("BLACK", 1))
pens = makeRandomPens()
dc.DrawLineList(makeRandomLines())
dc.DrawLineList(makeRandomLines(), wx.Pen("RED", 2))
dc.DrawLineList(makeRandomLines(), pens)
del dc
def test_dcDrawRectangleLists(self):
pnl = wx.Panel(self.frame)
self.frame.SetSize((w,h))
dc = wx.ClientDC(pnl)
dc.SetPen(wx.Pen("BLACK", 1))
dc.SetBrush( wx.Brush("RED") )
pens = makeRandomPens()
brushes = makeRandomBrushes()
dc.DrawRectangleList(makeRandomRectangles())
dc.DrawRectangleList(makeRandomRectangles(),pens)
dc.DrawRectangleList(makeRandomRectangles(),pens[0],brushes)
dc.DrawRectangleList(makeRandomRectangles(),pens,brushes[0])
dc.DrawRectangleList(makeRandomRectangles(),None,brushes)
del dc
@unittest.skipIf(not haveNumpy, "Numpy required for this test")
def test_dcDrawRectangleArray(self):
pnl = wx.Panel(self.frame)
self.frame.SetSize((w,h))
dc = wx.ClientDC(pnl)
dc.SetPen(wx.Pen("BLACK", 1))
dc.SetBrush( wx.Brush("RED") )
pens = makeRandomPens()
brushes = makeRandomBrushes()
dc.DrawRectangleList(np.array(makeRandomRectangles()))
dc.DrawRectangleList(np.array(makeRandomRectangles()),pens)
dc.DrawRectangleList(np.array(makeRandomRectangles()),pens[0],brushes)
dc.DrawRectangleList(np.array(makeRandomRectangles()),pens,brushes[0])
dc.DrawRectangleList(np.array(makeRandomRectangles()),None,brushes)
del dc
def test_dcDrawElipseLists(self):
pnl = wx.Panel(self.frame)
self.frame.SetSize((w,h))
dc = wx.ClientDC(pnl)
dc.SetPen(wx.Pen("BLACK", 1))
dc.SetBrush( wx.Brush("RED") )
pens = makeRandomPens()
brushes = makeRandomBrushes()
dc.DrawEllipseList(makeRandomRectangles())
dc.DrawEllipseList(makeRandomRectangles(),pens)
dc.DrawEllipseList(makeRandomRectangles(),pens[0],brushes)
dc.DrawEllipseList(makeRandomRectangles(),pens,brushes[0])
dc.DrawEllipseList(makeRandomRectangles(),None,brushes)
del dc
def test_dcDrawPloygonLists(self):
pnl = wx.Panel(self.frame)
self.frame.SetSize((w,h))
dc = wx.ClientDC(pnl)
dc.SetPen(wx.Pen("BLACK", 1))
dc.SetBrush( wx.Brush("RED") )
pens = makeRandomPens()
brushes = makeRandomBrushes()
polygons = makeRandomPolygons()
dc.DrawPolygonList(polygons)
dc.DrawPolygonList(polygons, pens)
dc.DrawPolygonList(polygons, pens[0],brushes)
dc.DrawPolygonList(polygons, pens,brushes[0])
dc.DrawPolygonList(polygons, None,brushes)
del dc
def test_dcDrawTextLists(self):
pnl = wx.Panel(self.frame)
self.frame.SetSize((w,h))
dc = wx.ClientDC(pnl)
dc.SetBackgroundMode(wx.SOLID)
points = makeRandomPoints()
fore = makeRandomColors()
back = makeRandomColors()
texts = makeRandomText()
dc.DrawTextList(texts, points, fore, back)
del dc
#---------------------------------------------------------------------------
if __name__ == '__main__':
unittest.main()
| [
"[email protected]"
] | |
6a598ec973d39b8857bf8e4b3513591117312264 | c036befbd9a4b81c0f082273dd0eb007e7f9582d | /dort-core/util/ints.py | fae6a3dcebe1b48a086026ebb082e01903b1f5c2 | [
"Apache-2.0"
] | permissive | Dortchain/dort-blockchian | 889f52f36dcdeffe0f852b413cdd32879741462f | 14f16e321a60f9d70f849f58e4e9964fa337a084 | refs/heads/main | 2023-06-16T01:31:30.718415 | 2021-07-11T03:03:12 | 2021-07-11T03:03:12 | 384,694,718 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,995 | py | from typing import Any, BinaryIO
from Dort.util.struct_stream import StructStream
class int8(StructStream):
PACK = "!b"
class uint8(StructStream):
PACK = "!B"
class int16(StructStream):
PACK = "!h"
class uint16(StructStream):
PACK = "!H"
class int32(StructStream):
PACK = "!l"
class uint32(StructStream):
PACK = "!L"
class int64(StructStream):
PACK = "!q"
class uint64(StructStream):
PACK = "!Q"
class uint128(int):
def __new__(cls: Any, value: int):
value = int(value)
if value > (2 ** 128) - 1 or value < 0:
raise ValueError(f"Value {value} of does not fit into uin128")
return int.__new__(cls, value) # type: ignore
@classmethod
def parse(cls, f: BinaryIO) -> Any:
read_bytes = f.read(16)
assert len(read_bytes) == 16
n = int.from_bytes(read_bytes, "big", signed=False)
assert n <= (2 ** 128) - 1 and n >= 0
return cls(n)
def stream(self, f):
assert self <= (2 ** 128) - 1 and self >= 0
f.write(self.to_bytes(16, "big", signed=False))
class int512(int):
def __new__(cls: Any, value: int):
value = int(value)
# note that the boundaries for int512 is not what you might expect. We
# encode these with one extra byte, but only allow a range of
# [-INT512_MAX, INT512_MAX]
if value >= (2 ** 512) or value <= -(2 ** 512):
raise ValueError(f"Value {value} of does not fit into in512")
return int.__new__(cls, value) # type: ignore
# Uses 65 bytes to fit in the sign bit
@classmethod
def parse(cls, f: BinaryIO) -> Any:
read_bytes = f.read(65)
assert len(read_bytes) == 65
n = int.from_bytes(read_bytes, "big", signed=True)
assert n < (2 ** 512) and n > -(2 ** 512)
return cls(n)
def stream(self, f):
assert self < (2 ** 512) and self > -(2 ** 512)
f.write(self.to_bytes(65, "big", signed=True))
| [
"[email protected]"
] | |
48fa8d2e0ea8bb9d65ab82b01db7bab8b5d6fe5c | f0d713996eb095bcdc701f3fab0a8110b8541cbb | /HXkpnCxJgxkFwaReT_10.py | 0ac63cec767a5f117ae4d9a6bd8853f9c41acfad | [] | no_license | daniel-reich/turbo-robot | feda6c0523bb83ab8954b6d06302bfec5b16ebdf | a7a25c63097674c0a81675eed7e6b763785f1c41 | refs/heads/main | 2023-03-26T01:55:14.210264 | 2021-03-23T16:08:01 | 2021-03-23T16:08:01 | 350,773,815 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,039 | py | """
Given a function that accepts **unlimited** arguments, check and count how
many data types are in those arguments. Finally return the total in a list.
List order is:
[int, str, bool, list, tuple, dictionary]
### Examples
count_datatypes(1, 45, "Hi", False) ➞ [2, 1, 1, 0, 0, 0]
count_datatypes([10, 20], ("t", "Ok"), 2, 3, 1) ➞ [3, 0, 0, 1, 1, 0]
count_datatypes("Hello", "Bye", True, True, False, {"1": "One", "2": "Two"}, [1, 3], {"Brayan": 18}, 25, 23) ➞ [2, 2, 3, 1, 0, 2]
count_datatypes(4, 21, ("ES", "EN"), ("a", "b"), False, [1, 2, 3], [4, 5, 6]) ➞ [2, 0, 1, 2, 2, 0]
### Notes
If no arguments are given, return `[0, 0, 0, 0, 0, 0]`
"""
def count_datatypes(*args):
i = sum(type(arg) == int for arg in args)
s = sum(type(arg) == str for arg in args)
b = sum(type(arg) == bool for arg in args)
l = sum(type(arg) == list for arg in args)
t = sum(type(arg) == tuple for arg in args)
d = sum(type(arg) == dict for arg in args)
return [i,s,b,l,t,d]
| [
"[email protected]"
] | |
221b3f687c962dfdad26902aaab6ea7207f0a7f4 | 3f16e66b33b39df8866947fcf1d8249476725c03 | /mymodule/main2.py | d795c5f9a1a68ab6babb2f8a5d75a813193cacd7 | [] | no_license | VadimVolynkin/learning_python3 | ea3559e0f01b4c9e09ae82b76ca315de8e41ecc4 | 872f0a2ac296ec3242ac9b81f63a29f09bc614fa | refs/heads/main | 2023-08-10T05:39:04.376172 | 2021-09-07T14:44:20 | 2021-09-07T14:44:20 | 339,133,214 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 25 | py |
m2 = 'hello from m2'
| [
"[email protected]"
] | |
8888162efa48c3b16541f45d0afbca742d5c9197 | f504253210cec1c4ec6c3ea50a45564db7d6cd7f | /prettyqt/custom_widgets/adjustingboxlayoutdockwidget.py | 35beb69676ef4e03eeb813230ff08764a12d6637 | [
"MIT"
] | permissive | phil65/PrettyQt | b1150cb4dce982b9b8d62f38f56694959b720a3e | f00500d992d1befb0f2c2ae62fd2a8aafba7fd45 | refs/heads/master | 2023-08-30T21:00:08.905444 | 2023-08-17T12:24:45 | 2023-08-17T12:24:45 | 177,451,205 | 17 | 5 | MIT | 2020-08-15T22:21:18 | 2019-03-24T18:10:21 | Python | UTF-8 | Python | false | false | 2,620 | py | from __future__ import annotations
from prettyqt import constants, widgets
DockWidgetArea = constants.DockWidgetArea
class AdjustingBoxLayoutDockWidget(widgets.DockWidget):
"""DockWidget adjusting its child widget QBoxLayout direction.
The child widget layout direction is set according to dock widget area.
The child widget MUST use a QBoxLayout.
"""
def __init__(self, parent: widgets.QWidget | None = None, **kwargs):
super().__init__(parent, **kwargs)
self._current_area = DockWidgetArea.NoDockWidgetArea
self.dockLocationChanged.connect(self._dock_location_changed)
self.topLevelChanged.connect(self._top_level_changed)
def setWidget(self, widget: widgets.QWidget):
"""Set the widget of this QDockWidget."""
super().setWidget(widget)
self._dock_location_changed(self._current_area)
def _dock_location_changed(self, area: DockWidgetArea):
self._current_area = area
if (widget := self.widget()) is not None:
if isinstance(layout := widget.layout(), widgets.QBoxLayout):
if area in (
DockWidgetArea.LeftDockWidgetArea,
DockWidgetArea.RightDockWidgetArea,
):
direction = widgets.BoxLayout.Direction.TopToBottom
else:
direction = widgets.BoxLayout.Direction.LeftToRight
layout.setDirection(direction)
self.resize(widget.minimumSize())
self.adjustSize()
def _top_level_changed(self, top_level: bool):
if (widget := self.widget()) is not None and top_level:
if isinstance(layout := widget.layout(), widgets.QBoxLayout):
layout.setDirection(widgets.BoxLayout.Direction.LeftToRight)
self.resize(widget.minimumSize())
self.adjustSize()
def showEvent(self, event):
"""Make sure this dock widget is raised when it is shown.
This is useful for tabbed dock widgets.
"""
self.raise_()
if __name__ == "__main__":
app = widgets.app()
mainwindow = widgets.MainWindow()
dockwidget = AdjustingBoxLayoutDockWidget()
textbox1 = widgets.PlainTextEdit()
textbox2 = widgets.PlainTextEdit()
container = widgets.Widget()
container.set_layout("horizontal")
container.set_layout(None)
container.set_layout("horizontal")
container.box.add(textbox1)
dockwidget.setWidget(container)
mainwindow.add_dockwidget(dockwidget)
mainwindow.show()
with app.debug_mode():
app.exec()
| [
"[email protected]"
] | |
c95ff0ea213f72ba08dca8053a412519590fdd91 | c89543dd926c1787c40616ed174a3d1371c54449 | /superset/views/users/api.py | 675b918847c461140578a642453c1a429f620198 | [
"Apache-2.0",
"OFL-1.1"
] | permissive | j420247/incubator-superset | 7c7bff330393f0e91f5e67782f35efe8c735250a | c9b9b7404a2440a4c9d3173f0c494ed40f7fa2bd | refs/heads/master | 2023-03-11T21:53:16.827919 | 2023-02-03T19:04:17 | 2023-02-03T19:04:17 | 157,780,350 | 1 | 1 | Apache-2.0 | 2023-03-07T00:14:51 | 2018-11-15T22:24:29 | TypeScript | UTF-8 | Python | false | false | 3,465 | py | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from flask import g, Response
from flask_appbuilder.api import expose, safe
from flask_jwt_extended.exceptions import NoAuthorizationError
from superset.views.base_api import BaseSupersetApi
from superset.views.users.schemas import UserResponseSchema
from superset.views.utils import bootstrap_user_data
user_response_schema = UserResponseSchema()
class CurrentUserRestApi(BaseSupersetApi):
"""An api to get information about the current user"""
resource_name = "me"
openapi_spec_tag = "Current User"
openapi_spec_component_schemas = (UserResponseSchema,)
@expose("/", methods=["GET"])
@safe
def get_me(self) -> Response:
"""Get the user object corresponding to the agent making the request
---
get:
description: >-
Returns the user object corresponding to the agent making the request,
or returns a 401 error if the user is unauthenticated.
responses:
200:
description: The current user
content:
application/json:
schema:
type: object
properties:
result:
$ref: '#/components/schemas/UserResponseSchema'
401:
$ref: '#/components/responses/401'
"""
try:
if g.user is None or g.user.is_anonymous:
return self.response_401()
except NoAuthorizationError:
return self.response_401()
return self.response(200, result=user_response_schema.dump(g.user))
@expose("/roles/", methods=["GET"])
@safe
def get_my_roles(self) -> Response:
"""Get the user roles corresponding to the agent making the request
---
get:
description: >-
Returns the user roles corresponding to the agent making the request,
or returns a 401 error if the user is unauthenticated.
responses:
200:
description: The current user
content:
application/json:
schema:
type: object
properties:
result:
$ref: '#/components/schemas/UserResponseSchema'
401:
$ref: '#/components/responses/401'
"""
try:
if g.user is None or g.user.is_anonymous:
return self.response_401()
except NoAuthorizationError:
return self.response_401()
user = bootstrap_user_data(g.user, include_perms=True)
return self.response(200, result=user)
| [
"[email protected]"
] | |
9061a8446b430d608a4cab7867f06179ed62a610 | 65f5a6e6455cc76558dfcc95a9b2a42aeb3f4205 | /add_contextual_info.py | d525a56fa2fb24b5f5497ae7a2d20d022a748ab8 | [
"MIT"
] | permissive | robertdstein/millipede_parser | af84b3bd650215e09d200bff67fea11cc52cd031 | 7f3ad22aea3eca6385e55fd084ce43b2d7000f92 | refs/heads/master | 2020-08-12T19:12:59.643359 | 2020-01-06T16:01:40 | 2020-01-06T16:01:40 | 214,826,592 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 6,639 | py | import pickle
import os
import numpy as np
from astropy.io import fits
from astropy.time import Time
import argparse
from parse_archival_scan import get_v0_output_dir
from contextual_info import archival_data
import healpy as hp
import logging
import requests
def extract_az_zen(nside, index):
return hp.pix2ang(nside, index)
def add_archival_ehe_info(candidate, data, header):
# zen, phi = extract_az_zen(header["NSIDE"], header["MINPIXEL"])
# dec = np.degrees(zen - np.pi/2.)
stream = header["STREAM"]
namesplit = [x for x in candidate.split("_")]
try:
year = int(namesplit[1])
num = int(namesplit[4].split(".")[0])
stream_mask = archival_data.T[4] == stream
year_mask = archival_data[stream_mask].T[3] == year
match = archival_data[stream_mask][year_mask][num]
header.set('time_mjd', match[0].mjd)
header.set("YEAR", int(match[0].jyear))
except IndexError:
pass
except ValueError:
pass
return data, header
def v1_gcn_url(event_id, run_id):
return "https://gcn.gsfc.nasa.gov/notices_amon/{0}_{1}.amon".format(int(event_id), int(run_id))
def v2_gcn_url(event_id, run_id):
return "https://gcn.gsfc.nasa.gov/notices_amon_g_b/{0}_{1}.amon".format(int(run_id), int(event_id))
def retrieve_v2_alert_info(data, header):
if not header["ARCHIVAL"]:
url = v2_gcn_url(header["event_id"], header["run_id"])
page = requests.get(url)
if not "404 Not Found" in page.text:
print("Found GCN: {0}".format(url))
for line in page.text.splitlines():
row = [x for x in line.split(":")]
if len(row) > 1:
val = [x for x in row[1].split(" ") if x not in ""][0]
if row[0] == "ENERGY":
header.set("E_TeV", float(val))
elif row[0] == "SIGNALNESS":
header.set("P_astro", float(val))
elif row[0] == "RUN_NUM":
header.set("run_id", float(val))
elif row[0] == "EVENT_NUM":
header.set("event_id", float(val))
elif row[0] == "NOTICE_TYPE":
if "Gold" in line.split(" "):
header.set("Stream", "Gold")
elif "Bronze" in line.split(" "):
header.set("Stream", "Bronze")
else:
raise Exception("Stream not found in {0}".format(row))
elif row[0] == "FAR":
header.set("FAR", float(val))
elif row[0] == "DISCOVERY_DATE":
disc_date = "20" + line.split(" ")[-2].replace("/", "-")
elif row[0] == "DISCOVERY_TIME":
disc_time = line.split(" ")[-2][1:-1]
time_str = "{0} {1} UTC".format(disc_date, disc_time)
header.set("TIME_UTC", time_str)
header.set("TIME_MJD", Time("{0}T{1}".format(disc_date, disc_time), scale="utc", format="isot").mjd)
return data, header
def retrieve_v1_alert_info(data, header):
if not header["ARCHIVAL"]:
url = v1_gcn_url(header["event_id"], header["run_id"])
page = requests.get(url)
if not "404 Not Found" in page.text:
print("Found GCN: {0}".format(url))
for line in page.text.splitlines():
row = [x for x in line.split(":")]
if len(row) > 1:
val = [x for x in row[1].split(" ") if x not in ""][0]
if row[0] == "ENERGY":
header.set("E_TeV", float(val))
elif row[0] == "SIGNALNESS":
header.set("P_astro", float(val))
elif row[0] == "RUN_NUM":
header.set("run_id", float(val))
elif row[0] == "EVENT_NUM":
header.set("event_id", float(val))
elif row[0] == "NOTICE_TYPE":
if "EHE" in line.split(" "):
header.set("Stream", "EHE")
elif "HESE" in line.split(" "):
header.set("Stream", "HESE")
else:
raise Exception("Stream not found in {0}".format(row))
elif row[0] == "FAR":
header.set("FAR", float(val))
elif row[0] == "CHARGE":
header.set("CHARGE", float(val))
elif row[0] == "SIGNAL_TRACKNESS":
header.set("SIGTRACK", float(val))
elif row[0] == "DISCOVERY_DATE":
disc_date = "20" + line.split(" ")[-2].replace("/", "-")
elif row[0] == "DISCOVERY_TIME":
disc_time = line.split(" ")[-2][1:-1]
time_str = "{0} {1} UTC".format(disc_date, disc_time)
header.set("TIME_UTC", time_str)
header.set("TIME_MJD", Time("{0}T{1}".format(disc_date, disc_time), scale="utc", format="isot").mjd)
return data, header
def get_v1_output_dir(base_output_dir):
return os.path.join(base_output_dir, "fits_v1_with_contextual_info")
def add_contextual_info(candidate, base_output_dir):
input_dir = get_v0_output_dir(base_output_dir)
path = os.path.join(input_dir, candidate)
logging.info(candidate)
output_dir = get_v1_output_dir(base_output_dir)
try:
os.makedirs(output_dir)
except OSError:
pass
output_file = os.path.join(output_dir, candidate)
with fits.open(path) as hdul:
data = hdul[0].data
header = hdul[0].header
data, header = retrieve_v1_alert_info(data, header)
data, header = retrieve_v2_alert_info(data, header)
data, header = add_archival_ehe_info(candidate, data, header)
hdul = fits.PrimaryHDU(data=data, header=header)
logging.info("Writing to {0}".format(output_file))
hdul.writeto(output_file, overwrite=True)
if __name__ == "__main__":
parser = argparse.ArgumentParser()
parser.add_argument("-o", "--output_dir")
parser.add_argument("-e", "--event", default=None)
args = parser.parse_args()
if args.event is not None:
candidates = [args.event]
else:
candidates = sorted([y for y in os.listdir(get_v0_output_dir(args.output_dir)) if "event" in y])
for candidate in candidates:
add_contextual_info(candidate, args.output_dir)
| [
"[email protected]"
] | |
6707141a302ed93cafaf82cad187723588c435d7 | 769d4ba08db6ad3707d8435b2d6ec3ca7fbf4a5d | /blender/arm/lib/make_datas.py | 9b55b2ad2b1abb6ce38c1f0db1a1ca12ec5f1e2f | [
"GPL-2.0-only",
"Zlib"
] | permissive | Leonix/armory | 9f2eee057f2fa66efc306e9e832806aa6ea124ba | 3eaf2dc569d7caf4a7a7c928575d45cbb9aa3c14 | refs/heads/master | 2020-04-15T11:45:55.385644 | 2019-01-07T14:41:06 | 2019-01-07T14:41:06 | 164,643,287 | 0 | 0 | Zlib | 2019-01-08T12:22:26 | 2019-01-08T12:22:25 | null | UTF-8 | Python | false | false | 10,943 | py | import os
import arm.utils
import arm.assets as assets
def parse_context(c, sres, asset, defs, vert=None, frag=None):
con = {}
sres['contexts'].append(con)
con['name'] = c['name']
con['constants'] = []
con['texture_units'] = []
con['vertex_elements'] = []
# Names
con['vertex_shader'] = c['vertex_shader'].rsplit('.', 1)[0].split('/')[-1]
if con['vertex_shader'] not in asset:
asset.append(con['vertex_shader'])
con['fragment_shader'] = c['fragment_shader'].rsplit('.', 1)[0].split('/')[-1]
if con['fragment_shader'] not in asset:
asset.append(con['fragment_shader'])
if 'geometry_shader' in c:
con['geometry_shader'] = c['geometry_shader'].rsplit('.', 1)[0].split('/')[-1]
if con['geometry_shader'] not in asset:
asset.append(con['geometry_shader'])
if 'tesscontrol_shader' in c:
con['tesscontrol_shader'] = c['tesscontrol_shader'].rsplit('.', 1)[0].split('/')[-1]
if con['tesscontrol_shader'] not in asset:
asset.append(con['tesscontrol_shader'])
if 'tesseval_shader' in c:
con['tesseval_shader'] = c['tesseval_shader'].rsplit('.', 1)[0].split('/')[-1]
if con['tesseval_shader'] not in asset:
asset.append(con['tesseval_shader'])
# Params
params = ['depth_write', 'compare_mode', 'stencil_mode', \
'stencil_pass', 'stencil_fail', 'stencil_reference_value', \
'stencil_read_mask', 'stencil_write_mask', 'cull_mode', \
'blend_source', 'blend_destination', 'blend_operation', \
'alpha_blend_source', 'alpha_blend_destination', 'alpha_blend_operation' \
'color_write_red', 'color_write_green', 'color_write_blue', 'color_write_alpha', \
'color_writes_red', 'color_writes_green', 'color_writes_blue', 'color_writes_alpha', \
'conservative_raster']
for p in params:
if p in c:
con[p] = c[p]
# Parse shaders
if vert == None:
with open(c['vertex_shader']) as f:
vert = f.read().splitlines()
parse_shader(sres, c, con, defs, vert, True) # Parse attribs for vertex shader
if frag == None:
with open(c['fragment_shader']) as f:
frag = f.read().splitlines()
parse_shader(sres, c, con, defs, frag, False)
if 'geometry_shader' in c:
with open(c['geometry_shader']) as f:
geom = f.read().splitlines()
parse_shader(sres, c, con, defs, geom, False)
if 'tesscontrol_shader' in c:
with open(c['tesscontrol_shader']) as f:
tesc = f.read().splitlines()
parse_shader(sres, c, con, defs, tesc, False)
if 'tesseval_shader' in c:
with open(c['tesseval_shader']) as f:
tese = f.read().splitlines()
parse_shader(sres, c, con, defs, tese, False)
def parse_shader(sres, c, con, defs, lines, parse_attributes):
skip_till_endif = 0
skip_else = False
vertex_elements_parsed = False
vertex_elements_parsing = False
stack = []
if parse_attributes == False:
vertex_elements_parsed = True
for line in lines:
line = line.lstrip()
# Preprocessor
if line.startswith('#if'): # if, ifdef, ifndef
s = line.split(' ')[1]
found = s in defs
if line.startswith('#ifndef'):
found = not found
if found == False:
stack.append(0)
else:
stack.append(1)
continue
if line.startswith('#else'):
stack[-1] = 1 - stack[-1]
continue
if line.startswith('#endif'):
stack.pop()
continue
skip = False
for i in stack:
if i == 0:
skip = True
break
if skip:
continue
if vertex_elements_parsed == False and line.startswith('in '):
vertex_elements_parsing = True
vd = {}
s = line.split(' ')
vd['data'] = 'float' + s[1][-1:]
vd['name'] = s[2][:-1]
con['vertex_elements'].append(vd)
if vertex_elements_parsing == True and len(line) > 0 and line.startswith('//') == False and line.startswith('in ') == False:
vertex_elements_parsed = True
if line.startswith('uniform ') or line.startswith('//!uniform'): # Uniforms included from header files
s = line.split(' ')
# uniform sampler2D myname;
# uniform layout(RGBA8) image3D myname;
if s[1].startswith('layout'):
ctype = s[2]
cid = s[3]
if cid[-1] == ';':
cid = cid[:-1]
else:
ctype = s[1]
cid = s[2]
if cid[-1] == ';':
cid = cid[:-1]
found = False # Unique check
if ctype.startswith('sampler') or ctype.startswith('image') or ctype.startswith('uimage'): # Texture unit
for tu in con['texture_units']: # Texture already present
if tu['name'] == cid:
found = True
break
if found == False:
if cid[-1] == ']': # Array of samplers - sampler2D mySamplers[2]
# Add individual units - mySamplers[0], mySamplers[1]
for i in range(int(cid[-2])):
tu = {}
con['texture_units'].append(tu)
tu['name'] = cid[:-2] + str(i) + ']'
else:
tu = {}
con['texture_units'].append(tu)
tu['name'] = cid
if ctype.startswith('image') or ctype.startswith('uimage'):
tu['is_image'] = True
# Check for link
for l in c['links']:
if l['name'] == cid:
valid_link = True
if 'ifdef' in l:
def_found = False
for d in defs:
for link_def in l['ifdef']:
if d == link_def:
def_found = True
break
if def_found:
break
if not def_found:
valid_link = False
if 'ifndef' in l:
def_found = False
for d in defs:
for link_def in l['ifndef']:
if d == link_def:
def_found = True
break
if def_found:
break
if def_found:
valid_link = False
if valid_link:
tu['link'] = l['link']
break
else: # Constant
if cid.find('[') != -1: # Float arrays
cid = cid.split('[')[0]
ctype = 'floats'
for const in con['constants']:
if const['name'] == cid:
found = True
break
if found == False:
const = {}
con['constants'].append(const)
const['type'] = ctype
const['name'] = cid
# Check for link
for l in c['links']:
if l['name'] == cid:
valid_link = True
if 'ifdef' in l:
def_found = False
for d in defs:
for link_def in l['ifdef']:
if d == link_def:
def_found = True
break
if def_found:
break
if not def_found:
valid_link = False
if 'ifndef' in l:
def_found = False
for d in defs:
for link_def in l['ifndef']:
if d == link_def:
def_found = True
break
if def_found:
break
if def_found:
valid_link = False
if valid_link:
const['link'] = l['link']
break
def make(res, base_name, json_data, fp, defs):
sres = {}
res['shader_datas'].append(sres)
sres['name'] = base_name
sres['contexts'] = []
asset = assets.shader_passes_assets[base_name]
vert = None
frag = None
if 'variants' in json_data and len(json_data['variants']) > 0:
d = json_data['variants'][0]
if d in defs:
# Write shader variant with define
c = json_data['contexts'][0]
with open(c['vertex_shader']) as f:
vert = f.read().split('\n', 1)[1]
vert = "#version 450\n#define " + d + "\n" + vert
with open(c['fragment_shader']) as f:
frag = f.read().split('\n', 1)[1]
frag = "#version 450\n#define " + d + "\n" + frag
with open(arm.utils.get_fp_build() + '/compiled/Shaders/' + base_name + d + '.vert.glsl', 'w') as f:
f.write(vert)
with open(arm.utils.get_fp_build() + '/compiled/Shaders/' + base_name + d + '.frag.glsl', 'w') as f:
f.write(frag)
# Add context variant
c2 = c.copy()
c2['vertex_shader'] = base_name + d + '.vert.glsl'
c2['fragment_shader'] = base_name + d + '.frag.glsl'
c2['name'] = c['name'] + d
parse_context(c2, sres, asset, defs, vert.splitlines(), frag.splitlines())
for c in json_data['contexts']:
parse_context(c, sres, asset, defs)
| [
"[email protected]"
] | |
0325fa1080c27994e0fa2c8ee857985828ccad3d | 5c72a7214bcf1d0cf185bce57393b201cf1b9dd9 | /pyigm/surveys/tests/test_llssurvey.py | 4545d6d8d0a006e1798263ad87f132c1a49e6145 | [] | no_license | JianiDing/pyigm | 6e9b960a0e8617e8861f45b0699f5e1847b5aff8 | d72f84a27fb25386aab8035bd49b21b37008f0af | refs/heads/master | 2021-08-24T09:06:49.810451 | 2017-12-07T01:17:53 | 2017-12-07T01:17:53 | 110,727,652 | 1 | 0 | null | 2017-12-09T00:00:27 | 2017-11-14T18:18:43 | Python | UTF-8 | Python | false | false | 2,416 | py | # Module to run tests on initializing AbsSurvey
# TEST_UNICODE_LITERALS
import numpy as np
import glob, os, imp, pdb
import pytest
from pyigm.surveys.llssurvey import LLSSurvey
from ..lls_literature import load_lls_lit
remote_data = pytest.mark.remote_data
lt_path = imp.find_module('linetools')[1]
'''
def data_path(filename):
data_dir = os.path.join(os.path.dirname(__file__), 'files')
return os.path.join(data_dir, filename)
'''
def test_read_hdlls_dr1_simple():
#hdlls = LLSSurvey.load_HDLLS()
hdlls = LLSSurvey.load_HDLLS(load_sys=False)
assert hdlls.nsys == 157
@remote_data
def test_read_hdlls_dr1(): # This might actually be local now..
hdlls = LLSSurvey.load_HDLLS()
assert hdlls.nsys == 157
CII_clms = hdlls.ions((6,2))
gdCII = np.where(CII_clms['flag_N']>0)[0]
assert len(gdCII) == 103
def test_dat_list():
"""JXP format :: Likely to be Deprecated
"""
# LLS Survey
if os.getenv('LLSTREE') is None:
assert True
return
# Load
lls = LLSSurvey.from_flist('Lists/lls_metals.lst', tree=os.getenv('LLSTREE'))
# tests
np.testing.assert_allclose(lls.NHI[0], 19.25)
assert lls.nsys == 164
def test_sdss():
""" Test SDSS DR7 -- This is very slow..
"""
# All
sdss_dr7_all = LLSSurvey.load_SDSS_DR7(sample='all')
assert sdss_dr7_all.nsys == 1935
# Stat
sdss_dr7_stat = LLSSurvey.load_SDSS_DR7()
assert len(sdss_dr7_stat.NHI) == 254
def test_hst():
""" Test HST surveys
"""
# ACS
acs = LLSSurvey.load_HST_ACS()
assert acs.nsys == 34
assert len(acs.sightlines) == 18
# WFC3
wfc3 = LLSSurvey.load_HST_WFC3()
assert wfc3.nsys == 91
assert len(wfc3.sightlines) == 53
# Combined
HST_LLS = wfc3 + acs
assert HST_LLS.nsys == 125
assert len(HST_LLS.sightlines) == 71
def test_z3mage():
""" Test z~3 MagE
"""
# All
z3mage = LLSSurvey.load_mage_z3()
assert z3mage.nsys == 60
assert len(z3mage.sightlines) == 105
# Non-Color
z3mage_NC = LLSSurvey.load_mage_z3(sample='non-color')
assert z3mage_NC.nsys == 32
assert len(z3mage_NC.sightlines) == 61
@remote_data
def test_literature():
""" Literature list
"""
lls_lit = load_lls_lit()
assert lls_lit.nsys == 58
assert lls_lit.ref == 'Zon04,Jen05,Tri05,Prx06a,Prx06b,Mei06,Mei07,Mei08,Nes08,Mei09,DZ09,Tum11,Kcz12,Bat12'
| [
"[email protected]"
] | |
7e539a9efa9026a14bd5bab19690d3be70235f37 | 951e433b25a25afeea4d9b45994a57e0a6044144 | /NowCoder/百度_二叉树深度.py | d30d251bea18bf6991eba6cc5047bd36ce19bac8 | [] | no_license | EricaEmmm/CodePython | 7c401073e0a9b7cd15f9f4a553f0aa3db1a951a3 | d52aa2a0bf71b5e7934ee7bff70d593a41b7e644 | refs/heads/master | 2020-05-31T14:00:34.266117 | 2019-09-22T09:48:23 | 2019-09-22T09:48:23 | 190,318,878 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 665 | py | from tool import TreeNode
def depth(root):
# 递归
if not root:
return 0
return max(depth(root.left), depth(root.right)) + 1
def depth1(root):
# 层次遍历:队列
depth = 0
tmp = []
tmp.append(root)
while tmp:
depth += 1
for i in range(len(tmp)):
new = tmp[0]
del tmp[0]
if new.left:
tmp.append(new.left)
if new.right:
tmp.append(new.right)
return depth
if __name__ == '__main__':
root = TreeNode(1)
root.left = TreeNode(2)
root.left.left = TreeNode(3)
root.right = TreeNode(4)
print(depth(root)) | [
"[email protected]"
] | |
715651fb3db0cf699d68d033c0188c829fb5d7bc | 8b713697ba8c40179393e069f07d750480c21d4a | /django_tutorial/test.py | 21287d83ef06d9670784440e3ce3f515b7d1db5c | [] | no_license | navill/pytest_tutorial | ca24bcd742d5f8c7273694ebf0a0dd38af095bdb | 27b4d163abe8581996503c851949c9f75aebb786 | refs/heads/master | 2023-02-02T03:06:11.784673 | 2020-12-23T04:53:16 | 2020-12-23T04:53:16 | 323,780,460 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 889 | py | import pytest
from django.test import TestCase
from django.contrib.auth.models import Group, User
class MyTest(TestCase):
fixtures = ['group.json', 'user.json']
def test_should_create_group(self):
group = Group.objects.get(pk=1)
self.assertEqual(group.name, 'appusers')
def test_should_craete_user(self):
user = User.objects.get(pk=1)
self.assertEqual(user.pk, 1)
@pytest.fixture
def user_A(db):
return User.objects.create_user('A')
def test_should_create_user_with_username(db, user_A):
assert user_A.username == 'A'
def test_should_check_password(db, user_A):
user_A.set_password('secret')
assert user_A.check_password('secret') is True
def test_should_not_check_unusable_password(db, user_A):
user_A.set_password('secret')
user_A.set_unusable_password()
assert user_A.check_password('secret') is False
| [
"[email protected]"
] | |
f7a4ceae9be0677a9d7c43d574dbb721e9efbe82 | 52ba0511e188a289f73a226f616d0f34bd96ebdb | /blog/models.py | 9a2f84d21a454b24a62e1c3f0bc9a3f456aa58db | [] | no_license | Tyaro2/my-first-blog | a4d96e33481e3a5a4373b41c4e5099f2c9561837 | 7d3139a010be719d96b4e94f9439c083078ff1c3 | refs/heads/master | 2023-04-04T05:12:03.278013 | 2021-04-06T09:36:29 | 2021-04-06T09:36:29 | 339,306,261 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 4,338 | py | from django.conf import settings
from django.db import models
from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
from django.contrib.auth.models import PermissionsMixin
from django.utils import timezone
from django.utils.translation import gettext_lazy as _
from django.contrib.auth import get_user_model
class UserManager(BaseUserManager):
use_in_migrations = True
def _create_user(self, username, email, password, **extra_fields):
if not username:
raise ValueError('The given username must be set')
if not email:
raise ValueError('The given email must be set')
user = self.model(username=self.model.normalize_username(username), email=self.normalize_email(email), **extra_fields)
user.set_password(password)
user.save(using=self._db)
return user
def create_user(self, username, email=None, password=None, **extra_fields):
extra_fields.setdefault('is_staff', False)
extra_fields.setdefault('is_superuser', False)
return self._create_user(username, email, password, **extra_fields)
def create_superuser(self, username, email, password, **extra_fields):
extra_fields.setdefault('is_staff', True)
extra_fields.setdefault('is_superuser', True)
if extra_fields.get('is_staff') is not True:
raise ValueError('Superuser must have is_staff=True')
if extra_fields.get('is_superuser') is not True:
raise ValueError('Superuser must have is_superuser=True')
return self._create_user(username, email, password, **extra_fields)
class User(AbstractBaseUser, PermissionsMixin):
username = models.CharField(max_length=25, unique=True)
email = models.EmailField(unique=True)
icon = models.ImageField(blank=True, null=True)
introduction = models.CharField(max_length=75, blank=True, null=True)
followees = models.ManyToManyField(
'User', verbose_name='フォロー中のユーザー', through='FriendShip',
related_name='+', through_fields=('follower', 'followee')
)
followers = models.ManyToManyField(
'User', verbose_name='フォローされているユーザー', through='FriendShip',
related_name='+', through_fields=('followee', 'follower')
)
is_staff = models.BooleanField(
_('staff status'),
default=False,
help_text=_('Designates whether the user can log into this admin site.'),
)
is_active = models.BooleanField(
_('active'),
default=True,
help_text=_(
'Designates whether this user should be treated as active. '
'Unselect this instead of deleting accounts.'
),
)
date_joined = models.DateTimeField(default=timezone.now)
objects = UserManager()
EMAIL_FIELD = 'email'
USERNAME_FIELD = 'username'
REQUIRED_FIELDS = ['email']
class Meta:
verbose_name = _('user')
verbose_name_plural = _('users')
class Post(models.Model):
author = models.ForeignKey('blog.User', on_delete=models.CASCADE)
title = models.CharField(max_length=200)
text = models.TextField()
created_date = models.DateTimeField(default=timezone.now)
published_date = models.DateTimeField(blank=True, null=True)
like = models.IntegerField(default=0)
def publish(self):
self.published_date = timezone.now()
self.save()
def __str__(self):
return self.title
def approved_comments(self):
return self.comments.filter(approved_comment=True)
class Comment(models.Model):
post = models.ForeignKey('blog.Post', on_delete=models.CASCADE, related_name='comments')
author = models.CharField(max_length=200)
text = models.TextField()
created_date = models.DateTimeField(default=timezone.now)
approved_comment = models.BooleanField(default=False)
def approve(self):
self.approved_comment = True
self.save()
def __str__(self):
return self.text
class FriendShip(models.Model):
follower = models.ForeignKey('User', on_delete=models.CASCADE, related_name='followee_friendships')
followee = models.ForeignKey('User', on_delete=models.CASCADE, related_name='follower_friendships')
class Meta:
unique_together = ('follower', 'followee') | [
"[email protected]"
] | |
11465b5b97e1db0d850bb05e9a72d69ab7a6968f | 62fe739a9485a2bf547b6d96777f6a01c32dd2f5 | /tarefas/forms.py | 8b1285266859e81df676add9789352e1a9f79d9d | [] | no_license | jgjefersonluis/pdmytest1 | 950c84016a153e931f49b47a7366d7677dfeb62d | 7bb3b377af1fdffe2ad307352a82e2f39005b909 | refs/heads/master | 2023-06-16T14:36:01.388219 | 2021-06-29T05:27:51 | 2021-06-29T05:27:51 | 380,875,827 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 171 | py | from django import forms
from tarefas.models import Tarefas
class TarefasModelForms(forms.ModelForm):
class Meta:
model = Tarefas
fields = '__all__' | [
"[email protected]"
] | |
117d079ed37845edbeb098e4e4257bb6044dda54 | 05f06a1b104526c5262289e663df855e1335f32a | /User/views.py | 682030b507801c942c3b37a8305cfb6ddf3afb55 | [] | no_license | Harshvartak/E-commerce-DRF | 784ebecce95730996a9553fef1f3a9218e942749 | b2eea09d7f965b8e8c9397f636c7ea8703813539 | refs/heads/master | 2022-12-13T11:39:11.854643 | 2020-01-03T07:54:41 | 2020-01-03T07:54:41 | 229,832,815 | 0 | 0 | null | 2022-11-22T04:19:28 | 2019-12-23T22:41:40 | JavaScript | UTF-8 | Python | false | false | 714 | py | from django.shortcuts import render
from rest_framework import status
from rest_framework.response import Response
from rest_framework.decorators import api_view
from rest_framework.authtoken.models import Token
from .serializers import RegistrationSerializer
@api_view(['POST', ])
def registration_view(request):
if request.method == 'POST':
serializer = RegistrationSerializer(data=request.data)
data = {}
if serializer.is_valid():
CustomUser = serializer.save()
data['response'] = 'successfully registered new user.'
data['username']= CustomUser.username
token = Token.objects.get(user=CustomUser).key
data['token']=token
else:
data = serializer.errors
return Response(data)
| [
"[email protected]"
] | |
8c68a5907b798fbc88de11c624c0c63918f8322b | 46d13216824f95f29da7672bf83ae1128a835a97 | /tests/unittests/test_user.py | 4a07b07fb597d183b4ae04f5c989e43c5abc6294 | [] | no_license | lucascandidoff/crudzin | 0a426b754d925e2990dd60cdd9cf2f90424c68b6 | bad721c62fa5f7f9905724838dbc61113ccc25ec | refs/heads/master | 2022-11-27T22:03:45.185391 | 2020-08-01T12:40:51 | 2020-08-01T12:40:51 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 929 | py | from flask import url_for
from flask_base_tests_cases import TestFlaskBase
class TestUserBP(TestFlaskBase):
def test_api_deve_registrar_usuario_na_base(self):
user = {
'username': 'test',
'password': '1234'
}
esperado = {
'id': '1',
'username': 'test'
}
response = self.client.post(url_for('user.register'), json=user)
self.assertEqual(response.status_code, 201)
self.assertEqual(response.json['username'], esperado['username'])
def test_api_nao_deve_registrar_usuario_na_base_quando_faltar_fields(self):
user = {
'username': 'test',
}
esperado = {'password': ['Missing data for required field.']}
response = self.client.post(url_for('user.register'), json=user)
self.assertEqual(response.status_code, 401)
self.assertEqual(response.json, esperado)
| [
"[email protected]"
] | |
737252ca9ba41c369ac7335e2c5f7e8fcb7042d2 | 1721445a6635af8604a1f2693660bb0c4ae88ca8 | /6/dest.py | 4eec336a4587bfb3fd4f69becc8e2938e75848a9 | [] | no_license | nelhage/aoc2018 | fdc01f557f9d9b82b533decaff64ebbe1909f9ba | c42a44ea2f86bf42ab4a0c9034f75a6827daf69e | refs/heads/master | 2020-04-13T06:50:10.134072 | 2018-12-25T18:07:31 | 2018-12-25T18:07:31 | 163,032,184 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 993 | py | import numpy as np
import sys
coords = [list(map(int, line.rstrip().split(", "))) for line in sys.stdin]
xs = np.array([x for (x, y) in coords])
ys = np.array([y for (x, y) in coords])
def closest(x, y):
ds = np.abs(xs - x) + np.abs(ys - y)
m = np.argmin(ds)
if np.sum(ds == ds[m]) == 1:
return m
return None
INF = 5*max(max(xs), max(ys))
inf = set()
for i, (x,y) in enumerate(coords):
if closest(INF, y) == i or \
closest(-INF, y) == i or \
closest(x, INF) == i or \
closest(x, -INF) == i:
inf.add(i)
area = [0]*len(coords)
for x in range(min(xs), max(xs)+1):
for y in range(min(ys), max(ys)+1):
c = closest(x, y)
if c:
area[c] += 1
fa = np.array(area)
fa[np.array(list(inf))] = 0
maxa = np.max(fa)
print("maxa={}".format(maxa))
MAXD = 10000
n = 0
for x in range(min(xs), max(xs)+1):
for y in range(min(ys), max(ys)+1):
d = np.sum(np.abs(xs - x) + np.abs(ys - y))
if d < MAXD:
n += 1
print("|d<{}|={}".format(MAXD, n))
| [
"[email protected]"
] | |
254d63e307baef0548c91c75b02f9877069f9a09 | f52cc8feb8c7cc18fdc8dc29359eb26409a26cad | /huaweicloud-sdk-bssintl/huaweicloudsdkbssintl/v2/__init__.py | 3cb57de739e08584db2dd9d63415b326aa152bd4 | [
"Apache-2.0"
] | permissive | KingfaLuis/huaweicloud-sdk-python-v3 | b8890d6a289366a69ab974a8130fee9a7a4f6fd2 | 114bc594ccced867189b74ee4915a7ec2ba7f226 | refs/heads/master | 2023-02-14T16:06:52.790497 | 2020-12-31T10:02:03 | 2020-12-31T10:02:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 13,807 | py | # coding: utf-8
from __future__ import absolute_import
# import BssintlClient
from huaweicloudsdkbssintl.v2.bssintl_client import BssintlClient
from huaweicloudsdkbssintl.v2.bssintl_async_client import BssintlAsyncClient
# import models into sdk package
from huaweicloudsdkbssintl.v2.model.account_manager import AccountManager
from huaweicloudsdkbssintl.v2.model.amount_infomation_v2 import AmountInfomationV2
from huaweicloudsdkbssintl.v2.model.apply_enterprise_realname_auths_req import ApplyEnterpriseRealnameAuthsReq
from huaweicloudsdkbssintl.v2.model.apply_individual_realname_auths_req import ApplyIndividualRealnameAuthsReq
from huaweicloudsdkbssintl.v2.model.auto_renewal_resources_request import AutoRenewalResourcesRequest
from huaweicloudsdkbssintl.v2.model.auto_renewal_resources_response import AutoRenewalResourcesResponse
from huaweicloudsdkbssintl.v2.model.bank_card_info_v2 import BankCardInfoV2
from huaweicloudsdkbssintl.v2.model.bill_sum_record_info_v2 import BillSumRecordInfoV2
from huaweicloudsdkbssintl.v2.model.cancel_auto_renewal_resources_request import CancelAutoRenewalResourcesRequest
from huaweicloudsdkbssintl.v2.model.cancel_auto_renewal_resources_response import CancelAutoRenewalResourcesResponse
from huaweicloudsdkbssintl.v2.model.cancel_customer_order_req import CancelCustomerOrderReq
from huaweicloudsdkbssintl.v2.model.cancel_customer_order_request import CancelCustomerOrderRequest
from huaweicloudsdkbssintl.v2.model.cancel_customer_order_response import CancelCustomerOrderResponse
from huaweicloudsdkbssintl.v2.model.cancel_resources_subscription_request import CancelResourcesSubscriptionRequest
from huaweicloudsdkbssintl.v2.model.cancel_resources_subscription_response import CancelResourcesSubscriptionResponse
from huaweicloudsdkbssintl.v2.model.change_enterprise_realname_authentication_request import ChangeEnterpriseRealnameAuthenticationRequest
from huaweicloudsdkbssintl.v2.model.change_enterprise_realname_authentication_response import ChangeEnterpriseRealnameAuthenticationResponse
from huaweicloudsdkbssintl.v2.model.change_enterprise_realname_auths_req import ChangeEnterpriseRealnameAuthsReq
from huaweicloudsdkbssintl.v2.model.check_subcustomer_user_req import CheckSubcustomerUserReq
from huaweicloudsdkbssintl.v2.model.check_user_identity_request import CheckUserIdentityRequest
from huaweicloudsdkbssintl.v2.model.check_user_identity_response import CheckUserIdentityResponse
from huaweicloudsdkbssintl.v2.model.conversion import Conversion
from huaweicloudsdkbssintl.v2.model.coupon_info_v2 import CouponInfoV2
from huaweicloudsdkbssintl.v2.model.coupon_simple_info_order_pay import CouponSimpleInfoOrderPay
from huaweicloudsdkbssintl.v2.model.create_customer_v2_req import CreateCustomerV2Req
from huaweicloudsdkbssintl.v2.model.create_enterprise_realname_authentication_request import CreateEnterpriseRealnameAuthenticationRequest
from huaweicloudsdkbssintl.v2.model.create_enterprise_realname_authentication_response import CreateEnterpriseRealnameAuthenticationResponse
from huaweicloudsdkbssintl.v2.model.create_personal_realname_auth_request import CreatePersonalRealnameAuthRequest
from huaweicloudsdkbssintl.v2.model.create_personal_realname_auth_response import CreatePersonalRealnameAuthResponse
from huaweicloudsdkbssintl.v2.model.create_sub_customer_request import CreateSubCustomerRequest
from huaweicloudsdkbssintl.v2.model.create_sub_customer_response import CreateSubCustomerResponse
from huaweicloudsdkbssintl.v2.model.customer_error_detail import CustomerErrorDetail
from huaweicloudsdkbssintl.v2.model.customer_information import CustomerInformation
from huaweicloudsdkbssintl.v2.model.customer_on_demand_resource import CustomerOnDemandResource
from huaweicloudsdkbssintl.v2.model.customer_order_v2 import CustomerOrderV2
from huaweicloudsdkbssintl.v2.model.demand_discount_rating_result import DemandDiscountRatingResult
from huaweicloudsdkbssintl.v2.model.demand_product_info import DemandProductInfo
from huaweicloudsdkbssintl.v2.model.demand_product_rating_result import DemandProductRatingResult
from huaweicloudsdkbssintl.v2.model.discount_item_v2 import DiscountItemV2
from huaweicloudsdkbssintl.v2.model.discount_simple_info import DiscountSimpleInfo
from huaweicloudsdkbssintl.v2.model.enterprise_person_new import EnterprisePersonNew
from huaweicloudsdkbssintl.v2.model.error_detail import ErrorDetail
from huaweicloudsdkbssintl.v2.model.freeze_sub_customers_req import FreezeSubCustomersReq
from huaweicloudsdkbssintl.v2.model.freeze_sub_customers_request import FreezeSubCustomersRequest
from huaweicloudsdkbssintl.v2.model.freeze_sub_customers_response import FreezeSubCustomersResponse
from huaweicloudsdkbssintl.v2.model.i_coupon_use_limit_info_v2 import ICouponUseLimitInfoV2
from huaweicloudsdkbssintl.v2.model.i_query_user_coupons_result_v2 import IQueryUserCouponsResultV2
from huaweicloudsdkbssintl.v2.model.limit_info_v2 import LimitInfoV2
from huaweicloudsdkbssintl.v2.model.list_conversions_request import ListConversionsRequest
from huaweicloudsdkbssintl.v2.model.list_conversions_response import ListConversionsResponse
from huaweicloudsdkbssintl.v2.model.list_customer_on_demand_resources_request import ListCustomerOnDemandResourcesRequest
from huaweicloudsdkbssintl.v2.model.list_customer_on_demand_resources_response import ListCustomerOnDemandResourcesResponse
from huaweicloudsdkbssintl.v2.model.list_customer_orders_request import ListCustomerOrdersRequest
from huaweicloudsdkbssintl.v2.model.list_customer_orders_response import ListCustomerOrdersResponse
from huaweicloudsdkbssintl.v2.model.list_customerself_resource_record_details_request import ListCustomerselfResourceRecordDetailsRequest
from huaweicloudsdkbssintl.v2.model.list_customerself_resource_record_details_response import ListCustomerselfResourceRecordDetailsResponse
from huaweicloudsdkbssintl.v2.model.list_customerself_resource_records_request import ListCustomerselfResourceRecordsRequest
from huaweicloudsdkbssintl.v2.model.list_customerself_resource_records_response import ListCustomerselfResourceRecordsResponse
from huaweicloudsdkbssintl.v2.model.list_measure_units_request import ListMeasureUnitsRequest
from huaweicloudsdkbssintl.v2.model.list_measure_units_response import ListMeasureUnitsResponse
from huaweicloudsdkbssintl.v2.model.list_on_demand_resource_ratings_request import ListOnDemandResourceRatingsRequest
from huaweicloudsdkbssintl.v2.model.list_on_demand_resource_ratings_response import ListOnDemandResourceRatingsResponse
from huaweicloudsdkbssintl.v2.model.list_order_coupons_by_order_id_request import ListOrderCouponsByOrderIdRequest
from huaweicloudsdkbssintl.v2.model.list_order_coupons_by_order_id_response import ListOrderCouponsByOrderIdResponse
from huaweicloudsdkbssintl.v2.model.list_pay_per_use_customer_resources_request import ListPayPerUseCustomerResourcesRequest
from huaweicloudsdkbssintl.v2.model.list_pay_per_use_customer_resources_response import ListPayPerUseCustomerResourcesResponse
from huaweicloudsdkbssintl.v2.model.list_postpaid_bill_sum_request import ListPostpaidBillSumRequest
from huaweicloudsdkbssintl.v2.model.list_postpaid_bill_sum_response import ListPostpaidBillSumResponse
from huaweicloudsdkbssintl.v2.model.list_rate_on_period_detail_request import ListRateOnPeriodDetailRequest
from huaweicloudsdkbssintl.v2.model.list_rate_on_period_detail_response import ListRateOnPeriodDetailResponse
from huaweicloudsdkbssintl.v2.model.list_resource_types_request import ListResourceTypesRequest
from huaweicloudsdkbssintl.v2.model.list_resource_types_response import ListResourceTypesResponse
from huaweicloudsdkbssintl.v2.model.list_resource_usages_request import ListResourceUsagesRequest
from huaweicloudsdkbssintl.v2.model.list_resource_usages_response import ListResourceUsagesResponse
from huaweicloudsdkbssintl.v2.model.list_service_resources_request import ListServiceResourcesRequest
from huaweicloudsdkbssintl.v2.model.list_service_resources_response import ListServiceResourcesResponse
from huaweicloudsdkbssintl.v2.model.list_service_types_request import ListServiceTypesRequest
from huaweicloudsdkbssintl.v2.model.list_service_types_response import ListServiceTypesResponse
from huaweicloudsdkbssintl.v2.model.list_sub_customer_coupons_request import ListSubCustomerCouponsRequest
from huaweicloudsdkbssintl.v2.model.list_sub_customer_coupons_response import ListSubCustomerCouponsResponse
from huaweicloudsdkbssintl.v2.model.list_sub_customers_request import ListSubCustomersRequest
from huaweicloudsdkbssintl.v2.model.list_sub_customers_response import ListSubCustomersResponse
from huaweicloudsdkbssintl.v2.model.list_usage_types_request import ListUsageTypesRequest
from huaweicloudsdkbssintl.v2.model.list_usage_types_response import ListUsageTypesResponse
from huaweicloudsdkbssintl.v2.model.measure_unit_rest import MeasureUnitRest
from huaweicloudsdkbssintl.v2.model.mod_sub_customer_budget_req import ModSubCustomerBudgetReq
from huaweicloudsdkbssintl.v2.model.monthly_bill_res import MonthlyBillRes
from huaweicloudsdkbssintl.v2.model.official_website_rating_result import OfficialWebsiteRatingResult
from huaweicloudsdkbssintl.v2.model.optional_discount_rating_result import OptionalDiscountRatingResult
from huaweicloudsdkbssintl.v2.model.order_instance_v2 import OrderInstanceV2
from huaweicloudsdkbssintl.v2.model.order_line_item_entity_v2 import OrderLineItemEntityV2
from huaweicloudsdkbssintl.v2.model.order_refund_info_v2 import OrderRefundInfoV2
from huaweicloudsdkbssintl.v2.model.package_usage_info import PackageUsageInfo
from huaweicloudsdkbssintl.v2.model.pay_customer_order_req import PayCustomerOrderReq
from huaweicloudsdkbssintl.v2.model.pay_orders_request import PayOrdersRequest
from huaweicloudsdkbssintl.v2.model.pay_orders_response import PayOrdersResponse
from huaweicloudsdkbssintl.v2.model.period_product_info import PeriodProductInfo
from huaweicloudsdkbssintl.v2.model.period_product_official_rating_result import PeriodProductOfficialRatingResult
from huaweicloudsdkbssintl.v2.model.period_product_rating_result import PeriodProductRatingResult
from huaweicloudsdkbssintl.v2.model.period_to_on_demand_req import PeriodToOnDemandReq
from huaweicloudsdkbssintl.v2.model.query_customer_on_demand_resources_req import QueryCustomerOnDemandResourcesReq
from huaweicloudsdkbssintl.v2.model.query_res_records_detail_req import QueryResRecordsDetailReq
from huaweicloudsdkbssintl.v2.model.query_resources_req import QueryResourcesReq
from huaweicloudsdkbssintl.v2.model.query_sub_customer_list_req import QuerySubCustomerListReq
from huaweicloudsdkbssintl.v2.model.rate_on_demand_req import RateOnDemandReq
from huaweicloudsdkbssintl.v2.model.rate_on_period_req import RateOnPeriodReq
from huaweicloudsdkbssintl.v2.model.renewal_resources_req import RenewalResourcesReq
from huaweicloudsdkbssintl.v2.model.renewal_resources_request import RenewalResourcesRequest
from huaweicloudsdkbssintl.v2.model.renewal_resources_response import RenewalResourcesResponse
from huaweicloudsdkbssintl.v2.model.res_fee_record_v2 import ResFeeRecordV2
from huaweicloudsdkbssintl.v2.model.resource_basic_info import ResourceBasicInfo
from huaweicloudsdkbssintl.v2.model.resource_type import ResourceType
from huaweicloudsdkbssintl.v2.model.send_verification_code_v2_req import SendVerificationCodeV2Req
from huaweicloudsdkbssintl.v2.model.send_verification_message_code_request import SendVerificationMessageCodeRequest
from huaweicloudsdkbssintl.v2.model.send_verification_message_code_response import SendVerificationMessageCodeResponse
from huaweicloudsdkbssintl.v2.model.service_resource_info import ServiceResourceInfo
from huaweicloudsdkbssintl.v2.model.service_type import ServiceType
from huaweicloudsdkbssintl.v2.model.show_customer_monthly_sum_request import ShowCustomerMonthlySumRequest
from huaweicloudsdkbssintl.v2.model.show_customer_monthly_sum_response import ShowCustomerMonthlySumResponse
from huaweicloudsdkbssintl.v2.model.show_customer_order_details_request import ShowCustomerOrderDetailsRequest
from huaweicloudsdkbssintl.v2.model.show_customer_order_details_response import ShowCustomerOrderDetailsResponse
from huaweicloudsdkbssintl.v2.model.show_realname_authentication_review_result_request import ShowRealnameAuthenticationReviewResultRequest
from huaweicloudsdkbssintl.v2.model.show_realname_authentication_review_result_response import ShowRealnameAuthenticationReviewResultResponse
from huaweicloudsdkbssintl.v2.model.show_refund_order_details_request import ShowRefundOrderDetailsRequest
from huaweicloudsdkbssintl.v2.model.show_refund_order_details_response import ShowRefundOrderDetailsResponse
from huaweicloudsdkbssintl.v2.model.show_sub_customer_budget_request import ShowSubCustomerBudgetRequest
from huaweicloudsdkbssintl.v2.model.show_sub_customer_budget_response import ShowSubCustomerBudgetResponse
from huaweicloudsdkbssintl.v2.model.unfreeze_sub_customers_req import UnfreezeSubCustomersReq
from huaweicloudsdkbssintl.v2.model.unfreeze_sub_customers_request import UnfreezeSubCustomersRequest
from huaweicloudsdkbssintl.v2.model.unfreeze_sub_customers_response import UnfreezeSubCustomersResponse
from huaweicloudsdkbssintl.v2.model.unsubscribe_resources_req import UnsubscribeResourcesReq
from huaweicloudsdkbssintl.v2.model.update_period_to_on_demand_request import UpdatePeriodToOnDemandRequest
from huaweicloudsdkbssintl.v2.model.update_period_to_on_demand_response import UpdatePeriodToOnDemandResponse
from huaweicloudsdkbssintl.v2.model.update_sub_customer_budget_request import UpdateSubCustomerBudgetRequest
from huaweicloudsdkbssintl.v2.model.update_sub_customer_budget_response import UpdateSubCustomerBudgetResponse
from huaweicloudsdkbssintl.v2.model.usage_type import UsageType
| [
"[email protected]"
] | |
0ab99563f7ecd9e09c49f930b365411a52e51bb9 | 5c7f2ce11f440c1abc1e2052c1ec725fadb3e8c9 | /ckanext/youckan/controllers/organization.py | 0bf3b89e498d1fd7027313f5e49ceff6fa1450a8 | [] | no_license | morty/ckanext-youckan | e06f2877270ba215b3dbbbb5b8a8c21ab33f71f6 | 8303e94363805a49d3cf93ee5216c7135b22e481 | refs/heads/master | 2021-01-18T07:47:11.510353 | 2014-02-26T14:24:03 | 2014-02-26T14:24:03 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,114 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
import logging
from ckan import model
from ckan.model import Group
from ckan.plugins import toolkit
from ckanext.youckan.controllers.base import YouckanBaseController
from ckanext.youckan.models import MembershipRequest
DB = model.meta.Session
log = logging.getLogger(__name__)
class YouckanOrganizationController(YouckanBaseController):
def membership_request(self, org_name):
'''Request membership for an organization'''
if not toolkit.request.method == 'POST':
raise toolkit.abort(400, 'Expected POST method')
user = toolkit.c.userobj
if not user:
raise toolkit.NotAuthorized('Membership request requires an user')
organization = Group.by_name(org_name)
comment = toolkit.request.params.get('comment')
membership_request = MembershipRequest(user, organization, comment)
DB.add(membership_request)
DB.commit()
membership_request.notify_admins()
return self.json_response({})
def membership_accept(self, request_id):
'''Accept a membership request'''
if not toolkit.request.method == 'POST':
raise toolkit.abort(400, 'Expected POST method')
user = toolkit.c.userobj
if not user:
raise toolkit.NotAuthorized('Membership validation requires an user')
membership_request = MembershipRequest.get(request_id)
membership = membership_request.accept(user)
return self.json_response(membership)
def membership_refuse(self, request_id):
'''Refuse a membership request'''
if not toolkit.request.method == 'POST':
raise toolkit.abort(400, 'Expected POST method')
user = toolkit.c.userobj
if not user:
raise toolkit.NotAuthorized('Membership validation requires an user')
comment = toolkit.request.params.get('comment')
membership_request = MembershipRequest.get(request_id)
membership_request.refuse(user, comment)
return self.json_response({})
| [
"[email protected]"
] | |
b029233ca5db7a28e56f90072761bd0020303006 | e781909485258415cb01e2bb2f7aaaaa0b14eb3b | /trunk/pyinstaller-1.3/optparse.py | 8d231fe52eed9349d83fc923a56d765d04b3f47f | [] | no_license | BGCX067/fabriciols-svn-to-git | 408cce031243125ed13c1b01deeb077c55519ac6 | 6fbd5eccdc8af831e3c7f3a313a5c300ab39b4aa | refs/heads/master | 2016-09-01T08:53:02.311545 | 2015-12-28T14:39:38 | 2015-12-28T14:39:38 | 48,847,917 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 321 | py | """
optparse -- forward-compatibility wrapper for use with Python 2.2.x and
earlier. If you import from 'optparse' rather than 'optik', your code
will work on base Python 2.3 (and later), or on earlier Pythons with
Optik 1.4.1 or later installed.
"""
from optik import __version__, __all__
from optik import *
| [
"[email protected]"
] | |
c6a65f5a53a29204372352da2ae26a5aa39b946b | 195b8d12796872c05d539aa9283fc3f407b8d8b5 | /python-cinderclient/tests/v1/fakes.py | ed0a640205d1db699fbed6ee2e955407cea334c1 | [
"BSD-3-Clause",
"Apache-2.0",
"BSD-2-Clause"
] | permissive | rvbelapure/openstack-nova-sched | afaa5928da3a8430b64bc23aedb251bae0e7d3ef | 325da0e08979d79b7470d7506ced1b4210e2b696 | refs/heads/master | 2021-01-17T05:28:44.474242 | 2013-04-20T21:18:35 | 2013-04-20T21:18:35 | 9,082,500 | 0 | 1 | null | 2021-09-07T08:33:18 | 2013-03-28T17:30:46 | Python | UTF-8 | Python | false | false | 10,355 | py | # Copyright (c) 2011 X.commerce, a business unit of eBay Inc.
# Copyright 2011 OpenStack, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import urlparse
from cinderclient import client as base_client
from cinderclient.v1 import client
from tests import fakes
import tests.utils as utils
def _stub_volume(**kwargs):
volume = {
'id': '1234',
'display_name': None,
'display_description': None,
"attachments": [],
"bootable": "false",
"availability_zone": "cinder",
"created_at": "2012-08-27T00:00:00.000000",
"display_description": None,
"display_name": None,
"id": '00000000-0000-0000-0000-000000000000',
"metadata": {},
"size": 1,
"snapshot_id": None,
"status": "available",
"volume_type": "None",
}
volume.update(kwargs)
return volume
def _stub_snapshot(**kwargs):
snapshot = {
"created_at": "2012-08-28T16:30:31.000000",
"display_description": None,
"display_name": None,
"id": '11111111-1111-1111-1111-111111111111',
"size": 1,
"status": "available",
"volume_id": '00000000-0000-0000-0000-000000000000',
}
snapshot.update(kwargs)
return snapshot
class FakeClient(fakes.FakeClient, client.Client):
def __init__(self, *args, **kwargs):
client.Client.__init__(self, 'username', 'password',
'project_id', 'auth_url',
extensions=kwargs.get('extensions'))
self.client = FakeHTTPClient(**kwargs)
class FakeHTTPClient(base_client.HTTPClient):
def __init__(self, **kwargs):
self.username = 'username'
self.password = 'password'
self.auth_url = 'auth_url'
self.callstack = []
def _cs_request(self, url, method, **kwargs):
# Check that certain things are called correctly
if method in ['GET', 'DELETE']:
assert 'body' not in kwargs
elif method == 'PUT':
assert 'body' in kwargs
# Call the method
args = urlparse.parse_qsl(urlparse.urlparse(url)[4])
kwargs.update(args)
munged_url = url.rsplit('?', 1)[0]
munged_url = munged_url.strip('/').replace('/', '_').replace('.', '_')
munged_url = munged_url.replace('-', '_')
callback = "%s_%s" % (method.lower(), munged_url)
if not hasattr(self, callback):
raise AssertionError('Called unknown API method: %s %s, '
'expected fakes method name: %s' %
(method, url, callback))
# Note the call
self.callstack.append((method, url, kwargs.get('body', None)))
status, headers, body = getattr(self, callback)(**kwargs)
r = utils.TestResponse({
"status_code": status,
"text": body,
"headers": headers,
})
return r, body
if hasattr(status, 'items'):
return utils.TestResponse(status), body
else:
return utils.TestResponse({"status": status}), body
#
# Snapshots
#
def get_snapshots_detail(self, **kw):
return (200, {}, {'snapshots': [
_stub_snapshot(),
]})
def get_snapshots_1234(self, **kw):
return (200, {}, {'snapshot': _stub_snapshot(id='1234')})
def put_snapshots_1234(self, **kw):
snapshot = _stub_snapshot(id='1234')
snapshot.update(kw['body']['snapshot'])
return (200, {}, {'snapshot': snapshot})
#
# Volumes
#
def put_volumes_1234(self, **kw):
volume = _stub_volume(id='1234')
volume.update(kw['body']['volume'])
return (200, {}, {'volume': volume})
def get_volumes(self, **kw):
return (200, {}, {"volumes": [
{'id': 1234, 'name': 'sample-volume'},
{'id': 5678, 'name': 'sample-volume2'}
]})
# TODO(jdg): This will need to change
# at the very least it's not complete
def get_volumes_detail(self, **kw):
return (200, {}, {"volumes": [
{'id': 1234,
'name': 'sample-volume',
'attachments': [{'server_id': 1234}]},
]})
def get_volumes_1234(self, **kw):
r = {'volume': self.get_volumes_detail()[2]['volumes'][0]}
return (200, {}, r)
def post_volumes_1234_action(self, body, **kw):
_body = None
resp = 202
assert len(body.keys()) == 1
action = body.keys()[0]
if action == 'os-attach':
assert body[action].keys() == ['instance_uuid', 'mountpoint']
elif action == 'os-detach':
assert body[action] is None
elif action == 'os-reserve':
assert body[action] is None
elif action == 'os-unreserve':
assert body[action] is None
elif action == 'os-initialize_connection':
assert body[action].keys() == ['connector']
return (202, {}, {'connection_info': 'foos'})
elif action == 'os-terminate_connection':
assert body[action].keys() == ['connector']
elif action == 'os-begin_detaching':
assert body[action] is None
elif action == 'os-roll_detaching':
assert body[action] is None
else:
raise AssertionError("Unexpected server action: %s" % action)
return (resp, {}, _body)
def post_volumes(self, **kw):
return (202, {}, {'volume': {}})
def delete_volumes_1234(self, **kw):
return (202, {}, None)
#
# Quotas
#
def get_os_quota_sets_test(self, **kw):
return (200, {}, {'quota_set': {
'tenant_id': 'test',
'metadata_items': [],
'volumes': 1,
'snapshots': 1,
'gigabytes': 1}})
def get_os_quota_sets_test_defaults(self):
return (200, {}, {'quota_set': {
'tenant_id': 'test',
'metadata_items': [],
'volumes': 1,
'snapshots': 1,
'gigabytes': 1}})
def put_os_quota_sets_test(self, body, **kw):
assert body.keys() == ['quota_set']
fakes.assert_has_keys(body['quota_set'],
required=['tenant_id'])
return (200, {}, {'quota_set': {
'tenant_id': 'test',
'metadata_items': [],
'volumes': 2,
'snapshots': 2,
'gigabytes': 1}})
#
# Quota Classes
#
def get_os_quota_class_sets_test(self, **kw):
return (200, {}, {'quota_class_set': {
'class_name': 'test',
'metadata_items': [],
'volumes': 1,
'snapshots': 1,
'gigabytes': 1}})
def put_os_quota_class_sets_test(self, body, **kw):
assert body.keys() == ['quota_class_set']
fakes.assert_has_keys(body['quota_class_set'],
required=['class_name'])
return (200, {}, {'quota_class_set': {
'class_name': 'test',
'metadata_items': [],
'volumes': 2,
'snapshots': 2,
'gigabytes': 1}})
#
# VolumeTypes
#
def get_types(self, **kw):
return (200, {}, {
'volume_types': [{'id': 1,
'name': 'test-type-1',
'extra_specs':{}},
{'id': 2,
'name': 'test-type-2',
'extra_specs':{}}]})
def get_types_1(self, **kw):
return (200, {}, {'volume_type': {'id': 1,
'name': 'test-type-1',
'extra_specs': {}}})
def post_types(self, body, **kw):
return (202, {}, {'volume_type': {'id': 3,
'name': 'test-type-3',
'extra_specs': {}}})
def post_types_1_extra_specs(self, body, **kw):
assert body.keys() == ['extra_specs']
return (200, {}, {'extra_specs': {'k': 'v'}})
def delete_types_1_extra_specs_k(self, **kw):
return(204, {}, None)
def delete_types_1(self, **kw):
return (202, {}, None)
#
# Set/Unset metadata
#
def delete_volumes_1234_metadata_test_key(self, **kw):
return (204, {}, None)
def delete_volumes_1234_metadata_key1(self, **kw):
return (204, {}, None)
def delete_volumes_1234_metadata_key2(self, **kw):
return (204, {}, None)
def post_volumes_1234_metadata(self, **kw):
return (204, {}, {'metadata': {'test_key': 'test_value'}})
#
# List all extensions
#
def get_extensions(self, **kw):
exts = [
{
"alias": "FAKE-1",
"description": "Fake extension number 1",
"links": [],
"name": "Fake1",
"namespace": ("http://docs.openstack.org/"
"/ext/fake1/api/v1.1"),
"updated": "2011-06-09T00:00:00+00:00"
},
{
"alias": "FAKE-2",
"description": "Fake extension number 2",
"links": [],
"name": "Fake2",
"namespace": ("http://docs.openstack.org/"
"/ext/fake1/api/v1.1"),
"updated": "2011-06-09T00:00:00+00:00"
},
]
return (200, {}, {"extensions": exts, })
| [
"[email protected]"
] | |
0a17c4a3a96f46c1b448dc93700c7c55373c4752 | e9757274ddb8484e27590ff0cc3f24550776c6cc | /Solved/0072/0072.py | 55dea79789686cbd455c67813dc7f05c68eda8de | [] | no_license | Jinmin-Goh/LeetCode | 948a9b3e77eb03507aad6f3c78640aa7f00e6ad5 | d6e80b968032b08506c5b185f66d35c6ff1f8bb9 | refs/heads/master | 2020-09-22T10:22:18.443352 | 2020-09-06T06:34:12 | 2020-09-06T06:34:12 | 225,153,497 | 1 | 1 | null | 2020-01-29T15:16:53 | 2019-12-01T11:55:25 | Python | UTF-8 | Python | false | false | 2,045 | py | # Problem No.: 72
# Solver: Jinmin Goh
# Date: 20191228
# URL: https://leetcode.com/problems/edit-distance/
import sys
# good solution link: https://leetcode.com/problems/edit-distance/discuss/159295/Python-solutions-and-intuition
class Solution:
def minDistance(self, word1: str, word2: str) -> int:
# top-down solution
self.dp = {}
ans = self.dpProcess(word1, word2, 0, 0)
return ans
def dpProcess(self, word1: str, word2: str, i: int, j: int):
# if both string are empty
if i == len(word1) and j == len(word2):
return 0
# if one string is empty
if i == len(word1):
return len(word2) - j
if j == len(word2):
return len(word1) - i
# memoization
if (i,j) not in self.dp:
temp = 0
if word1[i] == word2[j]:
temp = self.dpProcess(word1, word2, i + 1, j + 1)
else:
insert = 1 + self.dpProcess(word1, word2, i, j + 1)
delete = 1 + self.dpProcess(word1, word2, i + 1, j)
replace = 1 + self.dpProcess(word1, word2, i + 1, j + 1)
temp = min(insert, delete, replace)
self.dp[(i,j)] = temp
return self.dp[(i,j)]
# bottom-up solution
"""
def minDistance(self, word1: str, word2: str) -> int:
cnt_1 = len(word1)
cnt_2 = len(word2)
dp_table = [[0] * (cnt_2 + 1) for i in range(cnt_1 + 1)]
for i in range(cnt_1 + 1):
dp_table[i][0] = i
for i in range(cnt_2 + 1):
dp_table[0][i] = i
for i in range(1, cnt_1 + 1):
for j in range(1, cnt_2 + 1):
if word1[i - 1] == word2[j - 1]:
dp_table[i][j] = dp_table[i - 1][j - 1]
else:
dp_table[i][j] = 1 + min(dp_table[i][j - 1], dp_table[i - 1][j], dp_table[i - 1][j - 1])
return dp_table[cnt_1][cnt_2]
""" | [
"[email protected]"
] | |
83a51b7834034e76de94905bbd610c06a4d17331 | 587dbdf730b6cc3e693efc5dca5d83d1dd35ee1a | /extra/exam/tencent/t4.py | a3655900a722fb09c95050c6251460968144bb67 | [] | no_license | Rivarrl/leetcode_python | 8db2a15646d68e4d84ab263d8c3b6e38d8e3ea99 | dbe8eb449e5b112a71bc1cd4eabfd138304de4a3 | refs/heads/master | 2021-06-17T15:21:28.321280 | 2021-03-11T07:28:19 | 2021-03-11T07:28:19 | 179,452,345 | 3 | 1 | null | null | null | null | UTF-8 | Python | false | false | 713 | py | # -*- coding: utf-8 -*-
# ======================================
# @File : t4.py
# @Time : 2020/5/10 20:35
# @Author : Rivarrl
# ======================================
def f(n, board):
def dfs(l, r, x=0):
if l > r: return 0
if l == r: return board[l]
res = mi = min(board[l:r+1]) - x
i = l
for j in range(l, r+1):
if board[j] - x == mi:
res += dfs(i, j-1, mi)
i = j + 1
res += dfs(i, r, mi)
return min(res, r - l + 1)
return dfs(0, n-1)
if __name__ == '__main__':
n = int(input())
board = list(map(int, input().strip().split(' ')))
res = f(n, board)
print(res)
"""
5
2 2 1 2 2
""" | [
"[email protected]"
] | |
90d367495fd4f5c2f02d3b37e2e010af2cff3534 | c7faffdc340eb72737315efb017beee97cbd016d | /GetSharedWithAnyoneTeamDriveACLs.py | 52723eee417c2f398f7db170df420c32af2f7da5 | [] | no_license | boussagf/GAM-Scripts | d4b1c840cc2d25e67960262758b2a59f844d452b | bc1e05ddd4e9c94a3fd78c4566fe1df13a8d2e68 | refs/heads/master | 2020-04-29T16:35:57.279614 | 2019-03-01T18:43:49 | 2019-03-01T18:43:49 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,418 | py | #!/usr/bin/env python2
"""
# Purpose: For a Google Drive User(s), delete all drive file ACLs for Team Drive files shared with anyone
# Note: This script requires Advanced GAM with Team Drive support:
# https://github.com/taers232c/GAMADV-XTD, https://github.com/taers232c/GAMADV-XTD3
# Customize: Set FILE_NAME and ALT_FILE_NAME based on your environment. Set DOMAIN_LIST and DESIRED_ALLOWFILEDISCOVERY
# Usage:
# For all Team Drives, start at step 1; For Team Drives selected by user/group/OU, start at step 6
# All Team Drives
# 1: Get all Team Drives.
# $ gam redirect csv ./TeamDrives.csv print teamdrives fields id,name
# 2: Get ACLs for all Team Drives
# $ gam redirect csv ./TeamDriveACLs.csv multiprocess csv TeamDrives.csv gam print drivefileacls ~id
# 3: Customize GetTeamDriveOrganizers.py for this task:
# Set DOMAIN_LIST as required
# Set ONE_ORGANIZER = True
# Set SHOW_GROUP_ORGANIZERS = False
# Set SHOW_USER_ORGANIZERS = True
# 4: From that list of ACLs, output a CSV file with headers "id,name,organizers"
# that shows the organizers for each Team Drive
# $ python GetTeamDriveOrganizers.py TeamDriveACLs.csv TeamDrives.csv TeamDriveOrganizers.csv
# 4: Get ACLs for all team drive files; you can use permission matching to narrow the number of files listed; add to the end of the command line
# DESIRED_ALLOWFILEDISCOVERY = 'Any' - pm type anyone em
# DESIRED_ALLOWFILEDISCOVERY = 'True' - pm type anyone allowfilediscovery true em
# DESIRED_ALLOWFILEDISCOVERY = 'False' - pm type anyone allowfilediscovery false em
# $ gam redirect csv ./filelistperms.csv multiprocess csv TeamDriveOrganizers.csv gam user ~organizers print filelist select teamdriveid ~id fields teamdriveid,id,title,permissions
# 5: Go to step 10
# Selected Team Drives
# 6: If want Team Drives for a specific set of organizers, replace <UserTypeEntity> with your user selection in the command below
# $ gam redirect csv ./AllTeamDrives.csv <UserTypeEntity> print teamdrives role organizer fields id,name
# 7: Customize DeleteDuplicateRows.py for this task:
# Set ID_FIELD = 'id'
# 8: Delete duplicate Team Drives (some may have multiple organizers).
# $ python DeleteDuplicateRows.py ./AllTeamDrives.csv ./TeamDrives.csv
# 9: Get ACLs for all team drive files; you can use permission matching to narrow the number of files listed; add to the end of the command line
# DESIRED_ALLOWFILEDISCOVERY = 'Any' - pm type anyone em
# DESIRED_ALLOWFILEDISCOVERY = 'True' - pm type anyone allowfilediscovery true em
# DESIRED_ALLOWFILEDISCOVERY = 'False' - pm type anyone allowfilediscovery false em
# $ gam redirect csv ./filelistperms.csv multiprocess csv TeamDrives.csv gam user ~User print filelist select teamdriveid ~id fields teamdriveid,id,title,permissions
# Common code
# 10: From that list of ACLs, output a CSV file with headers "Owner,driveFileId,driveFileTitle,permissionId,role,allowFileDiscovery"
# that lists the driveFileIds and permissionIds for all ACLs shared with anyone
# (n.b., driveFileTitle, role and allowFileDiscovery are not used in the next step, they are included for documentation purposes)
# $ python GetSharedWithAnyoneTeamDriveACLs.py filelistperms.csv deleteperms.csv
# 11: Inspect deleteperms.csv, verify that it makes sense and then proceed
# 12: Delete the ACLs
# $ gam csv deleteperms.csv gam user "~Owner" delete drivefileacl "~driveFileId" "~permissionId"
"""
import csv
import re
import sys
# For GAMADV-XTD/GAMADV-XTD3 with drive_v3_native_names = false
FILE_NAME = 'title'
ALT_FILE_NAME = 'name'
# For GAMADV-XTD/GAMADV-XTD3 with drive_v3_native_names = true
#FILE_NAME = 'name'
#ALT_FILE_NAME = 'title'
# Specify desired value of allowFileDiscovery field: True, False, Any (matches True and False)
DESIRED_ALLOWFILEDISCOVERY = 'Any'
QUOTE_CHAR = '"' # Adjust as needed
LINE_TERMINATOR = '\n' # On Windows, you probably want '\r\n'
PERMISSIONS_N_TYPE = re.compile(r"permissions.(\d+).type")
if (len(sys.argv) > 2) and (sys.argv[2] != '-'):
outputFile = open(sys.argv[2], 'wb')
else:
outputFile = sys.stdout
outputCSV = csv.DictWriter(outputFile, ['Owner', 'driveFileId', 'driveFileTitle', 'permissionId', 'role', 'allowFileDiscovery'], lineterminator=LINE_TERMINATOR, quotechar=QUOTE_CHAR)
outputCSV.writeheader()
if (len(sys.argv) > 1) and (sys.argv[1] != '-'):
inputFile = open(sys.argv[1], 'rbU')
else:
inputFile = sys.stdin
for row in csv.DictReader(inputFile, quotechar=QUOTE_CHAR):
for k, v in row.iteritems():
mg = PERMISSIONS_N_TYPE.match(k)
if mg and v == 'anyone':
permissions_N = mg.group(1)
allowFileDiscovery = row.get('permissions.{0}.allowFileDiscovery'.format(permissions_N), str(row.get('permissions.{0}.withLink'.format(permissions_N)) == 'False'))
if DESIRED_ALLOWFILEDISCOVERY in ('Any', allowFileDiscovery):
outputCSV.writerow({'Owner': row['Owner'],
'driveFileId': row['id'],
'driveFileTitle': row.get(FILE_NAME, row.get(ALT_FILE_NAME, 'Unknown')),
'permissionId': 'id:{0}'.format(row['permissions.{0}.id'.format(permissions_N)]),
'role': row['permissions.{0}.role'.format(permissions_N)],
'allowFileDiscovery': allowFileDiscovery})
if inputFile != sys.stdin:
inputFile.close()
if outputFile != sys.stdout:
outputFile.close()
| [
"[email protected]"
] | |
1397d36dbb305c040e0bbfc8b2899aeedbdc85a6 | 22bbb6b46239db876059a4ba43999cf4ddcd0e1e | /train_vidreid_xent_htri.py | 69c4b5f3f02591ed5cbb22b499cfafa4c80bb015 | [
"MIT"
] | permissive | honglongcai/deep-person-reid | 9c524ce379a8ae2a24c9da0460dc2ff8457dd262 | 478da99655849f471ebade2ab50f6bc4976cf2dd | refs/heads/master | 2020-04-03T17:44:00.874297 | 2018-10-25T16:45:00 | 2018-10-25T16:45:00 | 155,457,232 | 1 | 0 | MIT | 2018-10-30T21:15:35 | 2018-10-30T21:15:34 | null | UTF-8 | Python | false | false | 15,983 | py | from __future__ import print_function
from __future__ import division
import os
import sys
import time
import datetime
import argparse
import os.path as osp
import numpy as np
import torch
import torch.nn as nn
import torch.backends.cudnn as cudnn
from torch.utils.data import DataLoader
from torch.optim import lr_scheduler
from torchreid import data_manager
from torchreid.dataset_loader import ImageDataset, VideoDataset
from torchreid import transforms as T
from torchreid import models
from torchreid.losses import CrossEntropyLabelSmooth, TripletLoss, DeepSupervision
from torchreid.utils.iotools import save_checkpoint, check_isfile
from torchreid.utils.avgmeter import AverageMeter
from torchreid.utils.logger import Logger
from torchreid.utils.torchtools import count_num_param
from torchreid.utils.reidtools import visualize_ranked_results
from torchreid.eval_metrics import evaluate
from torchreid.samplers import RandomIdentitySampler
from torchreid.optimizers import init_optim
parser = argparse.ArgumentParser(description='Train video model with cross entropy loss')
# Datasets
parser.add_argument('--root', type=str, default='data',
help="root path to data directory")
parser.add_argument('-d', '--dataset', type=str, default='mars',
choices=data_manager.get_names())
parser.add_argument('-j', '--workers', default=4, type=int,
help="number of data loading workers (default: 4)")
parser.add_argument('--height', type=int, default=256,
help="height of an image (default: 256)")
parser.add_argument('--width', type=int, default=128,
help="width of an image (default: 128)")
parser.add_argument('--seq-len', type=int, default=15,
help="number of images to sample in a tracklet")
# Optimization options
parser.add_argument('--optim', type=str, default='adam',
help="optimization algorithm (see optimizers.py)")
parser.add_argument('--max-epoch', default=500, type=int,
help="maximum epochs to run")
parser.add_argument('--start-epoch', default=0, type=int,
help="manual epoch number (useful on restarts)")
parser.add_argument('--train-batch', default=32, type=int,
help="train batch size")
parser.add_argument('--test-batch', default=5, type=int,
help="test batch size (number of tracklets)")
parser.add_argument('--lr', '--learning-rate', default=0.0003, type=float,
help="initial learning rate")
parser.add_argument('--stepsize', default=[300, 400], nargs='+', type=int,
help="stepsize to decay learning rate")
parser.add_argument('--gamma', default=0.1, type=float,
help="learning rate decay")
parser.add_argument('--weight-decay', default=5e-04, type=float,
help="weight decay (default: 5e-04)")
parser.add_argument('--margin', type=float, default=0.3,
help="margin for triplet loss")
parser.add_argument('--num-instances', type=int, default=4,
help="number of instances per identity")
parser.add_argument('--htri-only', action='store_true',
help="only use hard triplet loss (default: Fasle)")
parser.add_argument('--lambda-xent', type=float, default=1,
help="weight to balance cross entropy loss")
parser.add_argument('--lambda-htri', type=float, default=1,
help="weight to balance hard triplet loss")
parser.add_argument('--label-smooth', action='store_true',
help="use label smoothing regularizer in cross entropy loss")
# Architecture
parser.add_argument('-a', '--arch', type=str, default='resnet50', choices=models.get_names())
parser.add_argument('--pool', type=str, default='avg', choices=['avg', 'max'])
# Miscs
parser.add_argument('--print-freq', type=int, default=10,
help="print frequency")
parser.add_argument('--seed', type=int, default=1,
help="manual seed")
parser.add_argument('--resume', type=str, default='', metavar='PATH')
parser.add_argument('--load-weights', type=str, default='',
help="load pretrained weights but ignores layers that don't match in size")
parser.add_argument('--evaluate', action='store_true',
help="evaluation only")
parser.add_argument('--eval-step', type=int, default=-1,
help="run evaluation for every N epochs (set to -1 to test after training)")
parser.add_argument('--start-eval', type=int, default=0,
help="start to evaluate after specific epoch")
parser.add_argument('--save-dir', type=str, default='log')
parser.add_argument('--use-cpu', action='store_true',
help="use cpu")
parser.add_argument('--gpu-devices', default='0', type=str,
help='gpu device ids for CUDA_VISIBLE_DEVICES')
parser.add_argument('--use-avai-gpus', action='store_true',
help="use available gpus instead of specified devices (this is useful when using managed clusters)")
parser.add_argument('--visualize-ranks', action='store_true',
help="visualize ranked results, only available in evaluation mode (default: False)")
# global variables
args = parser.parse_args()
best_rank1 = -np.inf
def main():
global args, best_rank1
torch.manual_seed(args.seed)
if not args.use_avai_gpus: os.environ['CUDA_VISIBLE_DEVICES'] = args.gpu_devices
use_gpu = torch.cuda.is_available()
if args.use_cpu: use_gpu = False
if not args.evaluate:
sys.stdout = Logger(osp.join(args.save_dir, 'log_train.txt'))
else:
sys.stdout = Logger(osp.join(args.save_dir, 'log_test.txt'))
print("==========\nArgs:{}\n==========".format(args))
if use_gpu:
print("Currently using GPU {}".format(args.gpu_devices))
cudnn.benchmark = True
torch.cuda.manual_seed_all(args.seed)
else:
print("Currently using CPU (GPU is highly recommended)")
print("Initializing dataset {}".format(args.dataset))
dataset = data_manager.init_vidreid_dataset(root=args.root, name=args.dataset)
transform_train = T.Compose([
T.Random2DTranslation(args.height, args.width),
T.RandomHorizontalFlip(),
T.ToTensor(),
T.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
])
transform_test = T.Compose([
T.Resize((args.height, args.width)),
T.ToTensor(),
T.Normalize(mean=[0.485, 0.456, 0.406], std=[0.229, 0.224, 0.225]),
])
pin_memory = True if use_gpu else False
# decompose tracklets into images for image-based training
new_train = []
for img_paths, pid, camid in dataset.train:
for img_path in img_paths:
new_train.append((img_path, pid, camid))
trainloader = DataLoader(
ImageDataset(new_train, transform=transform_train),
sampler=RandomIdentitySampler(new_train, args.train_batch, args.num_instances),
batch_size=args.train_batch, num_workers=args.workers,
pin_memory=pin_memory, drop_last=True,
)
queryloader = DataLoader(
VideoDataset(dataset.query, seq_len=args.seq_len, sample='evenly', transform=transform_test),
batch_size=args.test_batch, shuffle=False, num_workers=args.workers,
pin_memory=pin_memory, drop_last=False,
)
galleryloader = DataLoader(
VideoDataset(dataset.gallery, seq_len=args.seq_len, sample='evenly', transform=transform_test),
batch_size=args.test_batch, shuffle=False, num_workers=args.workers,
pin_memory=pin_memory, drop_last=False,
)
print("Initializing model: {}".format(args.arch))
model = models.init_model(name=args.arch, num_classes=dataset.num_train_pids, loss={'xent', 'htri'})
print("Model size: {:.3f} M".format(count_num_param(model)))
if args.label_smooth:
criterion_xent = CrossEntropyLabelSmooth(num_classes=dataset.num_train_pids, use_gpu=use_gpu)
else:
criterion_xent = nn.CrossEntropyLoss()
criterion_htri = TripletLoss(margin=args.margin)
optimizer = init_optim(args.optim, model.parameters(), args.lr, args.weight_decay)
scheduler = lr_scheduler.MultiStepLR(optimizer, milestones=args.stepsize, gamma=args.gamma)
if args.load_weights and check_isfile(args.load_weights):
# load pretrained weights but ignore layers that don't match in size
checkpoint = torch.load(args.load_weights)
pretrain_dict = checkpoint['state_dict']
model_dict = model.state_dict()
pretrain_dict = {k: v for k, v in pretrain_dict.items() if k in model_dict and model_dict[k].size() == v.size()}
model_dict.update(pretrain_dict)
model.load_state_dict(model_dict)
print("Loaded pretrained weights from '{}'".format(args.load_weights))
if args.resume and check_isfile(args.resume):
checkpoint = torch.load(args.resume)
model.load_state_dict(checkpoint['state_dict'])
args.start_epoch = checkpoint['epoch'] + 1
best_rank1 = checkpoint['rank1']
print("Loaded checkpoint from '{}'".format(args.resume))
print("- start_epoch: {}\n- rank1: {}".format(args.start_epoch, best_rank1))
if use_gpu:
model = nn.DataParallel(model).cuda()
if args.evaluate:
print("Evaluate only")
distmat = test(model, queryloader, galleryloader, args.pool, use_gpu, return_distmat=True)
if args.visualize_ranks:
visualize_ranked_results(
distmat, dataset,
save_dir=osp.join(args.save_dir, 'ranked_results'),
topk=20,
)
return
start_time = time.time()
train_time = 0
best_epoch = args.start_epoch
print("==> Start training")
for epoch in range(args.start_epoch, args.max_epoch):
start_train_time = time.time()
train(epoch, model, criterion_xent, criterion_htri, optimizer, trainloader, use_gpu)
train_time += round(time.time() - start_train_time)
scheduler.step()
if (epoch + 1) > args.start_eval and args.eval_step > 0 and (epoch + 1) % args.eval_step == 0 or (epoch + 1) == args.max_epoch:
print("==> Test")
rank1 = test(model, queryloader, galleryloader, args.pool, use_gpu)
is_best = rank1 > best_rank1
if is_best:
best_rank1 = rank1
best_epoch = epoch + 1
if use_gpu:
state_dict = model.module.state_dict()
else:
state_dict = model.state_dict()
save_checkpoint({
'state_dict': state_dict,
'rank1': rank1,
'epoch': epoch,
}, is_best, osp.join(args.save_dir, 'checkpoint_ep' + str(epoch + 1) + '.pth.tar'))
print("==> Best Rank-1 {:.1%}, achieved at epoch {}".format(best_rank1, best_epoch))
elapsed = round(time.time() - start_time)
elapsed = str(datetime.timedelta(seconds=elapsed))
train_time = str(datetime.timedelta(seconds=train_time))
print("Finished. Total elapsed time (h:m:s): {}. Training time (h:m:s): {}.".format(elapsed, train_time))
def train(epoch, model, criterion_xent, criterion_htri, optimizer, trainloader, use_gpu):
losses = AverageMeter()
batch_time = AverageMeter()
data_time = AverageMeter()
model.train()
end = time.time()
for batch_idx, (imgs, pids, _) in enumerate(trainloader):
data_time.update(time.time() - end)
if use_gpu:
imgs, pids = imgs.cuda(), pids.cuda()
outputs, features = model(imgs)
if args.htri_only:
if isinstance(features, (tuple, list)):
loss = DeepSupervision(criterion_htri, features, pids)
else:
loss = criterion_htri(features, pids)
else:
if isinstance(outputs, (tuple, list)):
xent_loss = DeepSupervision(criterion_xent, outputs, pids)
else:
xent_loss = criterion_xent(outputs, pids)
if isinstance(features, (tuple, list)):
htri_loss = DeepSupervision(criterion_htri, features, pids)
else:
htri_loss = criterion_htri(features, pids)
loss = args.lambda_xent * xent_loss + args.lambda_htri * htri_loss
optimizer.zero_grad()
loss.backward()
optimizer.step()
batch_time.update(time.time() - end)
losses.update(loss.item(), pids.size(0))
if (batch_idx + 1) % args.print_freq == 0:
print('Epoch: [{0}][{1}/{2}]\t'
'Time {batch_time.val:.3f} ({batch_time.avg:.3f})\t'
'Data {data_time.val:.4f} ({data_time.avg:.4f})\t'
'Loss {loss.val:.4f} ({loss.avg:.4f})\t'.format(
epoch + 1, batch_idx + 1, len(trainloader), batch_time=batch_time,
data_time=data_time, loss=losses))
end = time.time()
def test(model, queryloader, galleryloader, pool, use_gpu, ranks=[1, 5, 10, 20], return_distmat=False):
batch_time = AverageMeter()
model.eval()
with torch.no_grad():
qf, q_pids, q_camids = [], [], []
for batch_idx, (imgs, pids, camids) in enumerate(queryloader):
if use_gpu: imgs = imgs.cuda()
b, s, c, h, w = imgs.size()
imgs = imgs.view(b*s, c, h, w)
end = time.time()
features = model(imgs)
batch_time.update(time.time() - end)
features = features.view(b, s, -1)
if pool == 'avg':
features = torch.mean(features, 1)
else:
features, _ = torch.max(features, 1)
features = features.data.cpu()
qf.append(features)
q_pids.extend(pids)
q_camids.extend(camids)
qf = torch.cat(qf, 0)
q_pids = np.asarray(q_pids)
q_camids = np.asarray(q_camids)
print("Extracted features for query set, obtained {}-by-{} matrix".format(qf.size(0), qf.size(1)))
gf, g_pids, g_camids = [], [], []
for batch_idx, (imgs, pids, camids) in enumerate(galleryloader):
if use_gpu: imgs = imgs.cuda()
b, s, c, h, w = imgs.size()
imgs = imgs.view(b*s, c, h, w)
end = time.time()
features = model(imgs)
batch_time.update(time.time() - end)
features = features.view(b, s, -1)
if pool == 'avg':
features = torch.mean(features, 1)
else:
features, _ = torch.max(features, 1)
features = features.data.cpu()
gf.append(features)
g_pids.extend(pids)
g_camids.extend(camids)
gf = torch.cat(gf, 0)
g_pids = np.asarray(g_pids)
g_camids = np.asarray(g_camids)
print("Extracted features for gallery set, obtained {}-by-{} matrix".format(gf.size(0), gf.size(1)))
print("==> BatchTime(s)/BatchSize(img): {:.3f}/{}".format(batch_time.avg, args.test_batch*args.seq_len))
m, n = qf.size(0), gf.size(0)
distmat = torch.pow(qf, 2).sum(dim=1, keepdim=True).expand(m, n) + \
torch.pow(gf, 2).sum(dim=1, keepdim=True).expand(n, m).t()
distmat.addmm_(1, -2, qf, gf.t())
distmat = distmat.numpy()
print("Computing CMC and mAP")
cmc, mAP = evaluate(distmat, q_pids, g_pids, q_camids, g_camids)
print("Results ----------")
print("mAP: {:.1%}".format(mAP))
print("CMC curve")
for r in ranks:
print("Rank-{:<3}: {:.1%}".format(r, cmc[r-1]))
print("------------------")
if return_distmat:
return distmat
return cmc[0]
if __name__ == '__main__':
main()
| [
"[email protected]"
] | |
f439595cb39ef495936efad8712fa16400e44651 | 6923f79f1eaaba0ab28b25337ba6cb56be97d32d | /Introduction_to_numerical_programming_using_Python_and_CPP_Beu/Ch04/Python/P04-SortComp0.py | 75189e60cc98e52081bce1ec35954c3f6ea24a9d | [] | no_license | burakbayramli/books | 9fe7ba0cabf06e113eb125d62fe16d4946f4a4f0 | 5e9a0e03aa7ddf5e5ddf89943ccc68d94b539e95 | refs/heads/master | 2023-08-17T05:31:08.885134 | 2023-08-14T10:05:37 | 2023-08-14T10:05:37 | 72,460,321 | 223 | 174 | null | 2022-10-24T12:15:06 | 2016-10-31T17:24:00 | Jupyter Notebook | UTF-8 | Python | false | false | 5,186 | py | # Comparison of operation counts for sorting methods
from random import *
#============================================================================
def BubbleSort(x, n):
#----------------------------------------------------------------------------
# Ascending sort of array x[1..n] by modified bubble sort
#----------------------------------------------------------------------------
global ncomp, nsave # no. of compares and saves
ipass = 0 # initialize pass counter
swap = 1 # initialize swap flag to enter loop
while (swap): # perform passes while swaps occur
ipass += 1 # increase pass counter
swap = 0 # initialize swap flag
for i in range(1,n-ipass+1): # loop over unsorted sublists
ncomp += 1 #------------------------------------------------------
if (x[i] > x[i+1]): # compare neighbors
nsave += 3 #---------------------------------------------------
xi = x[i]; x[i] = x[i+1]; x[i+1] = xi # swap neighbors
swap = 1 # set swap flag
#============================================================================
def InsertSort(x, n):
#----------------------------------------------------------------------------
# Ascending sort of array x[1..n] by direct insertion
#----------------------------------------------------------------------------
global ncomp, nsave # no. of compares and saves
for ipiv in range(2,n+1): # loop over pivots
nsave += 1 #---------------------------------------------------------
xpiv = x[ipiv] # save pivot to free its location
i = ipiv - 1 # initialize sublist counter
ncomp += 1 #---------------------------------------------------------
while ((i > 0) and (x[i] > xpiv)): # scan to the left of pivot
nsave += 1 #------------------------------------------------------
x[i+1] = x[i] # item > pivot: shift to the right
i -= 1
nsave += 1 #---------------------------------------------------------
x[i+1] = xpiv # insert pivot into last freed location
#============================================================================
def QuickSort(x, l, n):
#----------------------------------------------------------------------------
# Ascending sort of array x[l..n] by Quicksort
#----------------------------------------------------------------------------
global ncomp, nsave # no. of compares and saves
if (l >= n): return
# pivot = x[n]; create "<" and ">=" lists
m = l # upper index in "<"-list
for i in range(l,n): # scan entire list, excepting pivot
ncomp += 1 #---------------------------------------------------------
if (x[i] < x[n]): # compare current value with pivot
nsave += 3 #------------------------------------------------------
t = x[i]; x[i] = x[m]; x[m] = t # swap < value to end of "<"-list
m += 1 # extend "<"-list: increase upper index
nsave += 3 #------------------------------------------------------------
t = x[m]; x[m] = x[n]; x[n] = t # swap pivot between "<" and ">=" lists
QuickSort(x,l,m-1) # sort "<"-list
QuickSort(x,m+1,n) # sort ">="-list
# main
nf = 100 # scaling factor
np = 50 # number of plotting points
ns = nf * np # max. number of values to be sorted
x = [0]*(ns+1); x0 = [0]*(ns+1) # array to be sorted and copy
out = open("sort.txt","w") # open output file
out.write(" n Bubble "
"Insertion Quick\n")
out.write(" ncomp nsave ncomp"
" nsave ncomp nsave\n")
for ip in range(1,np+1):
n = nf * ip # number of values to be sorted
print("n = ",n)
for i in range(1,n+1): x0[i] = random() # list to be sorted
for i in range(1,n+1): x[i] = x0[i]
ncomp = 0; nsave = 0
BubbleSort(x,n)
out.write("{0:10d}{1:10d}{2:10d}".format(n,ncomp,nsave))
for i in range(1,n+1): x[i] = x0[i]
ncomp = 0; nsave = 0
InsertSort(x,n)
out.write("{0:10d}{1:10d}".format(ncomp,nsave))
for i in range(1,n+1): x[i] = x0[i]
ncomp = 0; nsave = 0
QuickSort(x,1,n)
out.write("{0:10d}{1:10d}\n".format(ncomp,nsave))
out.close()
| [
"[email protected]"
] | |
8a93acb3e5d67ecd8aa7a59639df91384b829756 | 8e0070b28f5377b94c50de2c979f92194a4ac88d | /tests/test_svg_colorful.py | 6b5c35925b757675b537c35c42fe91fbd1853ceb | [
"BSD-3-Clause"
] | permissive | AgentIvan/segno | c04ce887c3ee71ae0173d8e7653442fa16eea3b5 | 1033b9d21c6d82cf76f90927702f79599097ca1d | refs/heads/master | 2023-07-26T04:30:52.640466 | 2021-08-30T21:06:42 | 2021-08-30T21:06:42 | 416,811,279 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,735 | py | # -*- coding: utf-8 -*-
#
# Copyright (c) 2016 - 2020 -- Lars Heuer
# All rights reserved.
#
# License: BSD License
#
"""\
SVG related tests for multicolor support.
"""
from __future__ import absolute_import, unicode_literals
import io
import xml.etree.ElementTree as etree
import pytest
import segno
from segno import writers as colors
_SVG_NS = 'http://www.w3.org/2000/svg'
def _get_svg_el(root, name):
return root.find('{%s}%s' % (_SVG_NS, name))
def _get_group(root):
return _get_svg_el(root, 'g')
def _parse_xml(buff):
"""\
Parses XML and returns the root element.
"""
buff.seek(0)
return etree.parse(buff).getroot()
def test_merge_colors():
qr = segno.make_qr('test')
out = io.BytesIO()
qr.save(out, kind='svg', dark='green', finder_dark='green',
dark_module='green')
green = colors._color_to_webcolor('green')
assert green in out.getvalue().decode('utf-8')
root = _parse_xml(out)
paths = root.findall('.//{%s}path' % _SVG_NS)
assert 1 == len(paths)
def test_merge_colors2():
qr = segno.make_qr('test')
out = io.BytesIO()
qr.save(out, kind='svg', dark='green', finder_dark='green',
dark_module='blue', alignment_light='yellow',
quiet_zone='yellow')
green = colors._color_to_webcolor('green')
yellow = colors._color_to_webcolor('yellow')
blue = colors._color_to_webcolor('blue')
res = out.getvalue().decode('utf-8')
assert green in res
assert yellow in res
assert blue in res
root = _parse_xml(out)
paths = root.findall('.//{%s}path' % _SVG_NS)
assert 3 == len(paths)
assert not any(p.attrib.get('transform') for p in paths)
def test_nogroup():
qr = segno.make_qr('test')
out = io.BytesIO()
qr.save(out, kind='svg', dark='green', finder_dark='green',
dark_module='blue', alignment_light='yellow', quiet_zone='yellow',
scale=1.0)
root = _parse_xml(out)
paths = root.findall('.//{%s}path' % _SVG_NS)
assert 3 == len(paths)
assert all(p.attrib.get('transform') is None for p in paths)
group = _get_group(root)
assert not group
def test_scale():
qr = segno.make_qr('test')
out = io.BytesIO()
qr.save(out, kind='svg', dark='green', finder_dark='green',
dark_module='blue', alignment_light='yellow', quiet_zone='yellow',
scale=1.5)
root = _parse_xml(out)
paths = root.findall('.//{%s}path' % _SVG_NS)
assert 3 == len(paths)
assert all(p.attrib.get('transform') is None for p in paths)
group = _get_group(root)
assert group is not None
assert 'scale(1.5)' == group.attrib.get('transform')
if __name__ == '__main__':
pytest.main([__file__])
| [
"[email protected]"
] | |
84052a80f462cd5b12c1788672f6bf0953a8177f | 128dac2cee9a1022fafcc15a8d4903af678d88ee | /066. Plus One.py | 0875b8224bda1402b93baa32b1120090bfe89fbb | [] | no_license | wangtaodd/LeetCodeSolutions | b998d9de408bc2e01b6bff11fcb315b453389bc8 | 364107c1a74b2fbe72cbf7076f38b9089f7017fb | refs/heads/master | 2021-09-11T19:21:10.223002 | 2018-04-11T11:18:32 | 2018-04-11T11:18:32 | 125,821,429 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 538 | py | """
Given a non-negative integer represented as a non-empty array of digits, plus one to the integer.
You may assume the integer do not contain any leading zero, except the number 0 itself.
The digits are stored such that the most significant digit is at the head of the list.
"""
class Solution(object):
def plusOne(self, digits):
"""
:type digits: List[int]
:rtype: List[int]
"""
numstr="".join([str(i) for i in digits])
res=int(numstr)+1
return [int(i) for i in str(res)] | [
"[email protected]"
] | |
5a1e56872d5452c032dc23c23ca192b621aa38e1 | a296dc8f628111cab2b5b96cc22fb1b35f776a1d | /arbitrage/public_markets/paymiumeur.py | 009e357742af71f7cb84d275af7b1d5d2d6a43d1 | [
"MIT"
] | permissive | caojun105/bitcoin-arbitrage | e67e9c6bfb4280f1f3cc79292844f2365a28f964 | 9677b77829005c928c7a0b738c5fd28ad65a6331 | refs/heads/master | 2021-01-18T20:47:54.084419 | 2016-07-08T07:31:56 | 2016-07-08T07:31:56 | 63,140,117 | 2 | 0 | null | 2016-07-12T08:22:20 | 2016-07-12T08:22:19 | null | UTF-8 | Python | false | false | 1,112 | py | import urllib.request
import urllib.error
import urllib.parse
import json
from .market import Market
class PaymiumEUR(Market):
def __init__(self):
super(PaymiumEUR, self).__init__("EUR")
# bitcoin central maximum call / day = 5000
# keep 2500 for other operations
self.update_rate = 24 * 60 * 60 / 2500
def update_depth(self):
res = urllib.request.urlopen(
'https://paymium.com/api/data/eur/depth')
depth = json.loads(res.read().decode('utf8'))
self.depth = self.format_depth(depth)
def sort_and_format(self, l, reverse=False):
l.sort(key=lambda x: float(x['price']), reverse=reverse)
r = []
for i in l:
r.append({'price': float(i[
'price']), 'amount': float(i['amount'])})
return r
def format_depth(self, depth):
bids = self.sort_and_format(depth['bids'], True)
asks = self.sort_and_format(depth['asks'], False)
return {'asks': asks, 'bids': bids}
if __name__ == "__main__":
market = PaymiumEUR()
print(market.get_ticker())
| [
"[email protected]"
] | |
f74c1bef0bbf6a21fca6e1d069017b460f2ca0e0 | 03e7552ca43d6d1be2c867acfb013da2a96a32c1 | /examples/drake/manipulation_station/manipulation_station_plan_runner.py | 31ed4ba6e31afad4714fdea3e4611444363dee50 | [
"MIT"
] | permissive | ronuchit/pddlstream | 65a7c1b789363636219cb2127604007dd5d838f2 | 3471834ce5f6710c9871dd1dad94365fd5b5c0a9 | refs/heads/master | 2021-07-17T11:07:05.974594 | 2020-07-13T15:37:03 | 2020-07-13T15:37:03 | 196,050,963 | 2 | 0 | MIT | 2019-07-09T17:07:07 | 2019-07-09T17:07:07 | null | UTF-8 | Python | false | false | 9,446 | py | import numpy as np
import sys
from pydrake.all import (
BasicVector,
LeafSystem,
PortDataType,
)
from pydrake.util.eigen_geometry import Isometry3
from pydrake.trajectories import (
PiecewisePolynomial
)
from pydrake.math import RollPitchYaw
from robot_plans import *
class ManipStationPlanRunner(LeafSystem):
'''
Encodes the high-level logic for the manipulation system.
This state machine receives a list of Plans, and sends them to
the robot in a chronological order. Each trajectory is live through
the system's kuka_plan_output_port for
(kuka_plans[i].duration() *1.1) seconds, after which kuka_plans[i+1]
will become active.
Two
'''
def __init__(self, station, control_period=0.005, print_period=0.5):
LeafSystem.__init__(self)
self.set_name("Manipulation Plan Runner")
self.gripper_setpoint_list = []
self.kuka_plans_list = []
self.current_plan = None
# Stuff for iiwa control
self.nu = 7
self.print_period = print_period
self.last_print_time = -print_period
self.control_period = control_period
self.plant = station.get_mutable_multibody_plant()
self.tree = self.plant.tree()
# get relative transforms between EE frame (wsg gripper) and iiwa_link_7
context_plant = self.plant.CreateDefaultContext()
self.X_L7E = self.tree.CalcRelativeTransform(
context_plant,
frame_A=self.plant.GetFrameByName("iiwa_link_7"),
frame_B=self.plant.GetFrameByName("body"))
self.X_EEa = GetEndEffectorWorldAlignedFrame()
# create a multibodyplant containing the robot only, which is used for
# jacobian calculations.
self.plant_iiwa = station.get_controller_plant()
self.tree_iiwa = self.plant_iiwa.tree()
self.context_iiwa = self.plant_iiwa.CreateDefaultContext()
self.l7_frame = self.plant_iiwa.GetFrameByName('iiwa_link_7')
# Declare iiwa_position/torque_command publishing rate
self._DeclarePeriodicPublish(control_period)
# iiwa position input port
# iiwa velocity input port
self.iiwa_position_input_port = \
self._DeclareInputPort(
"iiwa_position", PortDataType.kVectorValued, 7)
self.iiwa_velocity_input_port = \
self._DeclareInputPort(
"iiwa_velocity", PortDataType.kVectorValued, 7)
# position and torque command output port
# first 7 elements are position commands.
# last 7 elements are torque commands.
self.iiwa_position_command_output_port = \
self._DeclareVectorOutputPort("iiwa_position_and_torque_command",
BasicVector(self.nu*2), self.CalcIiwaCommand)
# gripper control
self._DeclareDiscreteState(1)
self._DeclarePeriodicDiscreteUpdate(period_sec=0.1)
self.hand_setpoint_output_port = \
self._DeclareVectorOutputPort(
"gripper_setpoint", BasicVector(1), self.CalcHandSetpointOutput)
self.gripper_force_limit_output_port = \
self._DeclareVectorOutputPort(
"force_limit", BasicVector(1), self.CalcForceLimitOutput)
def Load(self, kuka_plans, gripper_setpoint_list):
# Append plan_list with a plan that moves the robot from its current position to
# plan_list[0].traj.value(0)
kuka_plans.insert(0, JointSpacePlan())
gripper_setpoint_list.insert(0, 0.055)
self.move_to_home_duration_sec = 3.0
kuka_plans[0].duration = self.move_to_home_duration_sec
# Add a five-second zero order hold to hold the current position of the robot
kuka_plans.insert(0, JointSpacePlan())
gripper_setpoint_list.insert(0, 0.055)
self.zero_order_hold_duration_sec = 1.0
kuka_plans[0].duration = self.zero_order_hold_duration_sec
assert len(kuka_plans) == len(gripper_setpoint_list)
self.gripper_setpoint_list = gripper_setpoint_list
self.kuka_plans_list = kuka_plans
# calculate starting time for all plans
self.num_plans = len(kuka_plans)
self.t_plan = np.zeros(self.num_plans + 1)
self.t_plan[1] = self.zero_order_hold_duration_sec
self.t_plan[2] = self.move_to_home_duration_sec + self.t_plan[1]
for i in range(2, self.num_plans):
self.t_plan[i + 1] = \
self.t_plan[i] + kuka_plans[i].get_duration() * 1.1
print "Plan starting time\n", self.t_plan
def CalcIiwaCommand(self, context, y_data):
if self.current_plan is None:
return
t = context.get_time()
self.GetCurrentPlan(context)
t_plan = t - self.current_plan.start_time
new_position_command = np.zeros(7)
new_torque_command = np.zeros(7)
if self.current_plan.type == "JointSpacePlan":
# The desired joint angle and velocities at this time (t_plan)
new_position_command[:] = self.current_plan.traj.value(t_plan).flatten()
elif self.current_plan.type == "OpenLeftDoorImpedancePlan" or \
self.current_plan.type == "OpenLeftDoorPositionPlan":
q_iiwa = self.EvalVectorInput(
context, self.iiwa_position_input_port.get_index()).get_value()
# update self.context_iiwa
x_iiwa_mutable = \
self.tree_iiwa.get_mutable_multibody_state_vector(self.context_iiwa)
x_iiwa_mutable[:7] = q_iiwa
handle_angle_ref = self.current_plan.traj.value(t_plan).flatten()
Jv_WL7q, p_HrQ = self.current_plan.CalcKinematics(
X_L7E=self.X_L7E, l7_frame=self.l7_frame,
world_frame=self.plant.world_frame(),
tree_iiwa=self.tree_iiwa, context_iiwa=self.context_iiwa,
handle_angle_ref=handle_angle_ref)
# compute commands
if self.current_plan.type == "OpenLeftDoorPositionPlan":
new_position_command[:] = self.current_plan.CalcPositionCommand(
t_plan, q_iiwa, Jv_WL7q, p_HrQ, self.control_period)
new_torque_command[:] = self.current_plan.CalcTorqueCommand()
elif self.current_plan.type == "OpenLeftDoorImpedancePlan":
new_position_command[:] = self.current_plan.CalcPositionCommand(q_iiwa)
new_torque_command[:] = self.current_plan.CalcTorqueCommand(t_plan, Jv_WL7q, p_HrQ)
y = y_data.get_mutable_value()
y[:self.nu] = new_position_command[:]
y[self.nu:] = new_torque_command[:]
# print current simulation time
if (self.print_period and
t - self.last_print_time >= self.print_period):
print "t: ", context.get_time()
self.last_print_time = context.get_time()
def GetCurrentPlan(self, context):
if not self.kuka_plans_list:
return
t = context.get_time()
if self.kuka_plans_list[0].traj is None:
q_current = self.EvalVectorInput(
context, self.iiwa_position_input_port.get_index()).get_value()
q0 = self.kuka_plans_list[2].traj.value(0).flatten()
# zero order hold
q_knots_kuka = np.zeros((2,7))
q_knots_kuka[0] = q_current
qtraj = PiecewisePolynomial.ZeroOrderHold(
[0, self.zero_order_hold_duration_sec], q_knots_kuka.T)
self.kuka_plans_list[0] = JointSpacePlan(qtraj)
# move to the starting position of trajectory plans
t_knots = np.array(
[0., self.move_to_home_duration_sec / 2, self.move_to_home_duration_sec])
q_knots_kuka = np.zeros((3, 7))
q_knots_kuka[0] = q_current
q_knots_kuka[2] = q0
q_knots_kuka[1] = (q_knots_kuka[0] + q_knots_kuka[2]) / 2
qtraj = PiecewisePolynomial.Cubic(
t_knots, q_knots_kuka.T, np.zeros(7), np.zeros(7))
self.kuka_plans_list[1] = JointSpacePlan(qtraj)
# set current plan
self.current_plan_idx = 0
self.current_plan = self.kuka_plans_list[0]
self.current_plan.set_start_time(0.)
new_plan_idx = 0
for i in range(self.num_plans):
if t >= self.t_plan[i] and t < self.t_plan[i + 1]:
new_plan_idx = i
break
if self.current_plan_idx < new_plan_idx:
self.current_plan_idx = new_plan_idx
self.current_plan = self.kuka_plans_list[new_plan_idx]
self.current_plan.set_start_time(t)
def _DoCalcDiscreteVariableUpdates(self, context, events, discrete_state):
# Call base method to ensure we do not get recursion.
LeafSystem._DoCalcDiscreteVariableUpdates(self, context, events, discrete_state)
new_state = discrete_state.get_mutable_vector().get_mutable_value()
# Close gripper after plan has been executed
new_state[:] = self.gripper_setpoint_list[self.current_plan_idx]
def CalcHandSetpointOutput(self, context, y_data):
state = context.get_discrete_state_vector().get_value()
y = y_data.get_mutable_value()
# Get the ith finger control output
y[:] = state[0]
def CalcForceLimitOutput(self, context, output):
output.SetAtIndex(0, 15.0)
| [
"[email protected]"
] | |
647b30379f37a277c78f8b6e9cfad34e77374880 | 18da2e6f54184313f9d36107fd7d6a60acc3df92 | /0x0F-python-object_relational_mapping/model_state.py | dc00ab58c9b0ba6aab8f141c4ec7660efe4e191c | [] | no_license | decolnz/HS_higher_level_programming | a92311faed6ecdeeb6db81ebd8da330126d0e139 | 4ff903992945e7f021db9a7e7499dccd35395446 | refs/heads/master | 2022-07-09T12:34:57.847768 | 2020-05-15T06:45:39 | 2020-05-15T06:45:39 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 403 | py | #!/usr/bin/python3
"""
Creating a class
"""
from sqlalchemy import Column, Integer, String
from sqlalchemy.ext.declarative import declarative_base
Base = declarative_base()
class State(Base):
"""Class State"""
__tablename__ = 'states'
id = Column(Integer, autoincrement=True, unique=True, nullable=False,
primary_key=True)
name = Column(String(128), nullable=False)
| [
"[email protected]"
] | |
762f66561d8648aca6e0784e3ebccc8d36a7e4c0 | 3ead257c7b6413fd6f0831652f367b926f39f337 | /data/cites/utils.py | 1107ce533303981d9e6153144a29dfeba0b07994 | [] | no_license | syyunn/tex | 88558b993f561f0370e9b8ad1500220f6c7578c9 | 6b5976c2f668d115ef2dbfa22cd16d1fac9c2b0c | refs/heads/master | 2022-12-31T21:09:05.073341 | 2020-10-21T11:27:41 | 2020-10-21T11:27:41 | 300,886,452 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,323 | py | def create_cooccurrence_matrix(cites):
"""Create co occurrence matrix from given list of sentences.
Returns:
- vocabs: dictionary of word counts
- co_occ_matrix_sparse: sparse co occurrence matrix
Example:
===========
sentences = ['I love nlp', 'I love to learn',
'nlp is future', 'nlp is cool']
vocabs,co_occ = create_cooccurrence_matrix(sentences)
df_co_occ = pd.DataFrame(co_occ.todense(),
index=vocabs.keys(),
columns = vocabs.keys())
df_co_occ = df_co_occ.sort_index()[sorted(vocabs.keys())]
df_co_occ.style.applymap(lambda x: 'color: red' if x>0 else '')
"""
import scipy.sparse as sparse
arts = {}
data = []
row = []
col = []
for cite in cites:
for pos, art in enumerate(cite):
i = arts.setdefault(art, len(arts))
start = 0
end = len(cite)
for pos2 in range(start, end):
if pos2 == pos:
continue
j = arts.setdefault(cite[pos2], len(arts))
data.append(1.)
row.append(i)
col.append(j)
cooccurrence_matrix_sparse = sparse.coo_matrix((data, (row, col)))
return arts, cooccurrence_matrix_sparse | [
"[email protected]"
] | |
e18b3657bcf036d792f980438845cacd61d5bd51 | 9adc810b07f7172a7d0341f0b38088b4f5829cf4 | /experiments/shikhar/corl2019/mulitobj_cvae/multiobj_cvae2.py | 23bef1e12a07541089ac824be0af1db3efcbb747 | [
"MIT"
] | permissive | Asap7772/railrl_evalsawyer | 7ee9358b5277b9ddf2468f0c6d28beb92a5a0879 | baba8ce634d32a48c7dfe4dc03b123e18e96e0a3 | refs/heads/main | 2023-05-29T10:00:50.126508 | 2021-06-18T03:08:12 | 2021-06-18T03:08:12 | 375,810,557 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 6,161 | py | import rlkit.misc.hyperparameter as hyp
from experiments.murtaza.multiworld.skew_fit.reacher.generate_uniform_dataset import generate_uniform_dataset_reacher
from multiworld.envs.mujoco.cameras import sawyer_init_camera_zoomed_in
from rlkit.launchers.launcher_util import run_experiment
# from rlkit.torch.grill.launcher import grill_her_twin_sac_online_vae_full_experiment
from rlkit.torch.grill.launcher import *
import rlkit.torch.vae.vae_schedules as vae_schedules
from rlkit.torch.vae.conv_vae import imsize48_default_architecture
from rlkit.launchers.arglauncher import run_variants
from multiworld.envs.pygame.multiobject_pygame_env import Multiobj2DEnv
from rlkit.torch.vae.conditional_conv_vae import ConditionalConvVAE
from rlkit.torch.vae.vae_trainer import ConditionalConvVAETrainer
def experiment(variant):
full_experiment_variant_preprocess(variant)
train_vae_and_update_variant(variant)
if __name__ == "__main__":
variant = dict(
double_algo=False,
online_vae_exploration=False,
imsize=48,
init_camera=sawyer_init_camera_zoomed_in,
env_class=Multiobj2DEnv,
env_kwargs=dict(
render_onscreen=False,
ball_radius=1,
images_are_rgb=True,
show_goal=False,
),
grill_variant=dict(
save_video=True,
custom_goal_sampler='replay_buffer',
online_vae_trainer_kwargs=dict(
beta=20,
lr=1e-3,
),
save_video_period=100,
qf_kwargs=dict(
hidden_sizes=[400, 300],
),
policy_kwargs=dict(
hidden_sizes=[400, 300],
),
vf_kwargs=dict(
hidden_sizes=[400, 300],
),
max_path_length=50,
algo_kwargs=dict(
batch_size=1024,
num_epochs=1000,
num_eval_steps_per_epoch=500,
num_expl_steps_per_train_loop=500,
num_trains_per_train_loop=1000,
min_num_steps_before_training=10000,
vae_training_schedule=vae_schedules.custom_schedule_2,
oracle_data=False,
vae_save_period=50,
parallel_vae_train=False,
),
twin_sac_trainer_kwargs=dict(
discount=0.99,
reward_scale=1,
soft_target_tau=1e-3,
target_update_period=1, # 1
use_automatic_entropy_tuning=True,
),
replay_buffer_kwargs=dict(
start_skew_epoch=10,
max_size=int(100000),
fraction_goals_rollout_goals=0.2,
fraction_goals_env_goals=0.5,
exploration_rewards_type='None',
vae_priority_type='vae_prob',
priority_function_kwargs=dict(
sampling_method='importance_sampling',
decoder_distribution='gaussian_identity_variance',
num_latents_to_sample=10,
),
power=-1,
relabeling_goal_sampling_mode='vae_prior',
),
exploration_goal_sampling_mode='vae_prior',
evaluation_goal_sampling_mode='reset_of_env',
normalize=False,
render=False,
exploration_noise=0.0,
exploration_type='ou',
training_mode='train',
testing_mode='test',
reward_params=dict(
type='latent_distance',
),
observation_key='latent_observation',
desired_goal_key='latent_desired_goal',
vae_wrapped_env_kwargs=dict(
sample_from_true_prior=True,
),
algorithm='ONLINE-VAE-SAC-BERNOULLI',
),
train_vae_variant=dict(
representation_size=4,
beta=50,
num_epochs=2001,
dump_skew_debug_plots=False,
# decoder_activation='gaussian',
decoder_activation='sigmoid',
use_linear_dynamics=False,
generate_vae_dataset_kwargs=dict(
N=20000,
n_random_steps=10,
test_p=.9,
use_cached=False,
show=False,
oracle_dataset=False,
oracle_dataset_using_set_to_goal=False,
non_presampled_goal_img_is_garbage=False,
random_rollout_data=True,
conditional_vae_dataset=True,
save_trajectories=True,
),
vae_trainer_class=ConditionalConvVAETrainer,
vae_class=ConditionalConvVAE,
vae_kwargs=dict(
input_channels=3,
architecture=imsize48_default_architecture,
decoder_distribution='gaussian_identity_variance',
),
# TODO: why the redundancy?
algo_kwargs=dict(
start_skew_epoch=5000,
is_auto_encoder=False,
batch_size=64,
lr=1e-3,
skew_config=dict(
method='vae_prob',
power=0,
),
skew_dataset=False,
priority_function_kwargs=dict(
decoder_distribution='gaussian_identity_variance',
sampling_method='importance_sampling',
# sampling_method='true_prior_sampling',
num_latents_to_sample=10,
),
use_parallel_dataloading=False,
),
save_period=25,
),
)
search_space = {
'seedid': range(1),
'train_vae_variant.representation_size': [2, 4, 8, 16],
'train_vae_variant.beta':[0, 0.5, 1]
}
sweeper = hyp.DeterministicHyperparameterSweeper(
search_space, default_parameters=variant,
)
variants = []
for variant in sweeper.iterate_hyperparameters():
variants.append(variant)
run_variants(experiment, variants, run_id=0)
| [
"[email protected]"
] | |
2a21be4baa493ba4ebbd659cb4cf4c518e170455 | 11583bb4cbcd1518bec8f1316cb3588b2bc2c1c6 | /zaif_last_price.py | c57d70cc6face15056fbc3e7e9755b12f1a1cb0f | [] | no_license | aki-06/zaif_last_price | e41ac7bfa55f6a5e959e0b757ec4f6924e69a0aa | 2f6eae8f1df5443d8da0776f2a617a1b7b938a06 | refs/heads/master | 2021-08-14T11:31:48.766514 | 2017-11-15T14:25:38 | 2017-11-15T14:25:38 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 818 | py | import zaifapi
from zaifapi import *
if __name__ == '__main__':
zaif = ZaifPublicApi()
zaif_btc_jpy = zaif.last_price(('btc_jpy'))
zaif_xem_jpy = zaif.last_price(('xem_jpy'))
zaif_eth_jpy = zaif.last_price(('eth_jpy'))
zaif_mona_jpy = zaif.last_price(('mona_jpy'))
zaif_bch_jpy = zaif.last_price(('bch_jpy'))
zaif_zaif_jpy = zaif.last_price(('zaif_jpy'))
zaif_pepe_jpy = zaif.last_price(('pepecash_jpy'))
print('btc_jpy = ', zaif_btc_jpy['last_price'])
print('xem_jpy = ', zaif_xem_jpy['last_price'])
print('eth_jpy = ', zaif_eth_jpy['last_price'])
print('mona_jpy = ', zaif_mona_jpy['last_price'])
print('bch_jpy = ', zaif_bch_jpy['last_price'])
print('zaif_jpy = ', zaif_zaif_jpy['last_price'])
print('pepe_jpy = ', zaif_pepe_jpy['last_price'])
| [
"[email protected]"
] | |
d29d81888de9710a4d0837f9f00eb13263a04e23 | a9e3f3ad54ade49c19973707d2beb49f64490efd | /Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/theming/helpers.py | 0e1da2a4ae268d323d4b630e7673b15f47aacfce | [
"AGPL-3.0-only",
"AGPL-3.0-or-later",
"MIT"
] | permissive | luque/better-ways-of-thinking-about-software | 8c3dda94e119f0f96edbfe5ba60ca6ec3f5f625d | 5809eaca7079a15ee56b0b7fcfea425337046c97 | refs/heads/master | 2021-11-24T15:10:09.785252 | 2021-11-22T12:14:34 | 2021-11-22T12:14:34 | 163,850,454 | 3 | 1 | MIT | 2021-11-22T12:12:31 | 2019-01-02T14:21:30 | JavaScript | UTF-8 | Python | false | false | 10,224 | py | """
Helpers for accessing comprehensive theming related variables.
This file is imported at startup. Imports of models or things which import models will break startup on Django 1.9+. If
you need models here, please import them inside the function which uses them.
"""
import os
import re
from logging import getLogger
import crum
from django.conf import settings
from edx_toggles.toggles import SettingToggle
from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers
from openedx.core.djangoapps.theming.helpers_dirs import (
Theme,
get_project_root_name_from_settings,
get_theme_base_dirs_from_settings,
get_theme_dirs,
get_themes_unchecked
)
from openedx.core.lib.cache_utils import request_cached
logger = getLogger(__name__) # pylint: disable=invalid-name
@request_cached()
def get_template_path(relative_path, **kwargs): # lint-amnesty, pylint: disable=unused-argument
"""
The calculated value is cached for the lifetime of the current request.
"""
return relative_path
def is_request_in_themed_site():
"""
This is a proxy function to hide microsite_configuration behind comprehensive theming.
"""
# We need to give priority to theming/site-configuration over microsites
return configuration_helpers.is_site_configuration_enabled()
def get_template_path_with_theme(relative_path):
"""
Returns template path in current site's theme if it finds one there otherwise returns same path.
Example:
>> get_template_path_with_theme('header.html')
'/red-theme/lms/templates/header.html'
Parameters:
relative_path (str): template's path relative to the templates directory e.g. 'footer.html'
Returns:
(str): template path in current site's theme
"""
relative_path = os.path.normpath(relative_path)
theme = get_current_theme()
if not theme:
return relative_path
# strip `/` if present at the start of relative_path
template_name = re.sub(r'^/+', '', relative_path)
template_path = theme.template_path / template_name
absolute_path = theme.path / "templates" / template_name
if absolute_path.exists():
return str(template_path)
else:
return relative_path
def get_all_theme_template_dirs():
"""
Returns template directories for all the themes.
Example:
>> get_all_theme_template_dirs()
[
'/edx/app/edxapp/edx-platform/themes/red-theme/lms/templates/',
]
Returns:
(list): list of directories containing theme templates.
"""
themes = get_themes()
template_paths = list()
for theme in themes:
template_paths.extend(theme.template_dirs)
return template_paths
def get_project_root_name():
"""
Return root name for the current project
Example:
>> get_project_root_name()
'lms'
# from studio
>> get_project_root_name()
'cms'
Returns:
(str): component name of platform e.g lms, cms
"""
return get_project_root_name_from_settings(settings.PROJECT_ROOT)
def strip_site_theme_templates_path(uri):
"""
Remove site template theme path from the uri.
Example:
>> strip_site_theme_templates_path('/red-theme/lms/templates/header.html')
'header.html'
Arguments:
uri (str): template path from which to remove site theme path. e.g. '/red-theme/lms/templates/header.html'
Returns:
(str): template path with site theme path removed.
"""
theme = get_current_theme()
if not theme:
return uri
templates_path = "/".join([
theme.theme_dir_name,
get_project_root_name(),
"templates"
])
uri = re.sub(r'^/*' + templates_path + '/*', '', uri)
return uri
def get_current_request():
"""
Return current request instance.
Returns:
(HttpRequest): returns current request
"""
return crum.get_current_request()
def get_current_site():
"""
Return current site.
Returns:
(django.contrib.sites.models.Site): returns current site
"""
request = get_current_request()
if not request:
return None
return getattr(request, 'site', None)
def get_current_site_theme():
"""
Return current site theme object. Returns None if theming is disabled.
Returns:
(ecommerce.theming.models.SiteTheme): site theme object for the current site.
"""
# Return None if theming is disabled
if not is_comprehensive_theming_enabled():
return None
request = get_current_request()
if not request:
return None
return getattr(request, 'site_theme', None)
def get_current_theme():
"""
Return current theme object. Returns None if theming is disabled.
Returns:
(ecommerce.theming.models.SiteTheme): site theme object for the current site.
"""
# Return None if theming is disabled
if not is_comprehensive_theming_enabled():
return None
site_theme = get_current_site_theme()
if not site_theme:
return None
try:
return Theme(
name=site_theme.theme_dir_name,
theme_dir_name=site_theme.theme_dir_name,
themes_base_dir=get_theme_base_dir(site_theme.theme_dir_name),
project_root=get_project_root_name()
)
except ValueError as error:
# Log exception message and return None, so that open source theme is used instead
logger.exception('Theme not found in any of the themes dirs. [%s]', error)
return None
def current_request_has_associated_site_theme():
"""
True if current request has an associated SiteTheme, False otherwise.
Returns:
True if current request has an associated SiteTheme, False otherwise
"""
request = get_current_request()
site_theme = getattr(request, 'site_theme', None)
return bool(site_theme and site_theme.id)
def get_theme_base_dir(theme_dir_name, suppress_error=False):
"""
Returns absolute path to the directory that contains the given theme.
Args:
theme_dir_name (str): theme directory name to get base path for
suppress_error (bool): if True function will return None if theme is not found instead of raising an error
Returns:
(str): Base directory that contains the given theme
"""
for themes_dir in get_theme_base_dirs():
if theme_dir_name in get_theme_dirs(themes_dir):
return themes_dir
if suppress_error:
return None
raise ValueError(
"Theme '{theme}' not found in any of the following themes dirs, \nTheme dirs: \n{dir}".format(
theme=theme_dir_name,
dir=get_theme_base_dirs(),
))
def theme_exists(theme_name, themes_dir=None):
"""
Returns True if a theme exists with the specified name.
"""
for theme in get_themes(themes_dir=themes_dir):
if theme.theme_dir_name == theme_name:
return True
return False
def get_themes(themes_dir=None):
"""
get a list of all themes known to the system.
Args:
themes_dir (str): (Optional) Path to themes base directory
Returns:
list of themes known to the system.
"""
if not is_comprehensive_theming_enabled():
return []
if themes_dir is None:
themes_dir = get_theme_base_dirs_unchecked()
return get_themes_unchecked(themes_dir, settings.PROJECT_ROOT)
def get_theme_base_dirs_unchecked():
"""
Return base directories that contains all the themes.
Example:
>> get_theme_base_dirs_unchecked()
['/edx/app/ecommerce/ecommerce/themes']
Returns:
(List of Paths): Base theme directory paths
"""
theme_dirs = getattr(settings, "COMPREHENSIVE_THEME_DIRS", None)
return get_theme_base_dirs_from_settings(theme_dirs)
def get_theme_base_dirs():
"""
Return base directories that contains all the themes.
Ensures comprehensive theming is enabled.
Example:
>> get_theme_base_dirs()
['/edx/app/ecommerce/ecommerce/themes']
Returns:
(List of Paths): Base theme directory paths
"""
# Return an empty list if theming is disabled
if not is_comprehensive_theming_enabled():
return []
return get_theme_base_dirs_unchecked()
def is_comprehensive_theming_enabled():
"""
Returns boolean indicating whether comprehensive theming functionality is enabled or disabled.
Example:
>> is_comprehensive_theming_enabled()
True
Returns:
(bool): True if comprehensive theming is enabled else False
"""
ENABLE_COMPREHENSIVE_THEMING = SettingToggle("ENABLE_COMPREHENSIVE_THEMING", default=False)
if ENABLE_COMPREHENSIVE_THEMING.is_enabled() and current_request_has_associated_site_theme():
return True
return ENABLE_COMPREHENSIVE_THEMING.is_enabled()
def get_config_value_from_site_or_settings(name, site=None, site_config_name=None):
"""
Given a configuration setting name, try to get it from the site configuration and then fall back on the settings.
If site_config_name is not specified then "name" is used as the key for both collections.
Args:
name (str): The name of the setting to get the value of.
site: The site that we are trying to fetch the value for.
site_config_name: The name of the setting within the site configuration.
Returns:
The value stored in the configuration.
"""
from openedx.core.djangoapps.site_configuration.models import SiteConfiguration
if site_config_name is None:
site_config_name = name
if site is None:
site = get_current_site()
site_configuration = None
if site is not None:
try:
site_configuration = getattr(site, "configuration", None)
except SiteConfiguration.DoesNotExist:
pass
value_from_settings = getattr(settings, name, None)
if site_configuration is not None:
return site_configuration.get_value(site_config_name, default=value_from_settings)
else:
return value_from_settings
| [
"[email protected]"
] | |
0ea91e5a0cf17f128231b27e498ed8faef5c8244 | ca7aa979e7059467e158830b76673f5b77a0f5a3 | /Python_codes/p03131/s109288213.py | d83fd52fecf6c54b08e12805530c326dab31a380 | [] | no_license | Aasthaengg/IBMdataset | 7abb6cbcc4fb03ef5ca68ac64ba460c4a64f8901 | f33f1c5c3b16d0ea8d1f5a7d479ad288bb3f48d8 | refs/heads/main | 2023-04-22T10:22:44.763102 | 2021-05-13T17:27:22 | 2021-05-13T17:27:22 | 367,112,348 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 199 | py | K,A,B=map(int,input().split())
b_count=1
if B-A<=2:
b_count+=K
else:
b_chenge_count=max(0,int((K-(A-1))/2))
b_count+=b_chenge_count*(B-A)+(A-1)+(K-(A-1)-b_chenge_count*2)
print(b_count) | [
"[email protected]"
] | |
250fe633342902421e18eb42c4191f6bdbac2e32 | 05536893d069dd87256ba74ecdee06bdf481d44b | /args_api/ORAEXA/ORAEXA-ORA11G.py | 1a7cf8c1ba362166fa07740f18ac0c81f9aa7995 | [] | no_license | TheRockStarDBA/DataBuddy | b2d889e11745d0afe1b39a11aab5945e2bd08cf7 | 38fa7adfdd228e2b2e4b4408393505163c5702e8 | refs/heads/master | 2020-12-25T23:27:02.363977 | 2015-05-28T19:14:12 | 2015-05-28T19:14:12 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,347,642 | py | #do not change
aa={'ORAEXA_Partition_NoClient.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_921000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_936000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_075000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_DateTable_Email.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_668000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_Validate.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_569000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedPartition.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_321000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_Limit10.ORA11G_Partition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_837000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_TimestampTable_trimWhitespace.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_015000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_TruncateTarget_AskToTruncate.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_171000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryFile_Limit10.ORA11G_Table_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_009000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_Limit10.ORA11G_Partition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_808000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_NoClient.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_784000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryFile_WithWideRows.ORA11G_Table_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_644000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_844000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_ShardedTimestampTable_keepWhitespace_Validate.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_189000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimestampTable_trimWhitespace.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_923000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Subpartition_Limit10.ORA11G_Partition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_625000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_trimWhitespace.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_682000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_KeepSpoolFile.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_730000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable_JobName.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_955000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'FROM_ORAEXA_DateTable_JobName_TO_ORA11G_Partition', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_Limit10.ORA11G_Table_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001321_922000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_414000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_WithWideRows.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_424000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_Limit10.ORA11G_Table': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001321_884000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_547000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimestampTable.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_733000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneTable_KeepSpoolFile.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_558000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneTable_KeepSpoolFile.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_592000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_816000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Table.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_351000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_WithWideRows.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_932000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedTable_Limit10.ORA11G_Partition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_767000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryDir_keepWhitespace.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_498000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_NoClient.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_951000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_keepWhitespace.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_224000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_KeepSpoolFile.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_545000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_Limit10.ORA11G_Table_GetTabnameFromQuery': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001321_697000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir_trimWhitespace.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_381000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_ShardedPartition.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_089000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_TruncateTarget_AskToTruncate.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_421000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_Limit10.ORA11G_Table_TruncateTarget_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001321_854000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_667000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_keepWhitespace.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_307000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryFile_WithWideRows.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_455000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_Limit10.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_255000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_TimezoneQueryFile.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_531000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_020000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_115000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Subpartition.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_941000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryFile_Limit10.ORA11G_Table_TruncateTarget_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_904000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_TableNamedFiles.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_715000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora_table_named', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_Validate.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_393000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_025000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneQueryFile.ORA11G_Table_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_568000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_TableNamedFiles.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_808000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora_table_named', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Table_KeepSpoolFile.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_402000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_Limit10.ORA11G_Table': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_732000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedPartition_Limit10.ORA11G_Subpartition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_858000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_Validate.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_479000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_Limit10.ORA11G_Table': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_891000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_727000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedTable_Limit10.ORA11G_Partition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_827000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_TruncateTarget_AskToTruncate.ORA11G_Table': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_321000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition_Limit10.ORA11G_Subpartition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_174000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_447000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir_WithWideRows.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_448000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedPartition_Limit10.ORA11G_Subpartition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_033000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Table.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_198000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_keepWhitespace.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_247000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTable_Limit10.ORA11G_Subpartition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_854000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryFile_WithWideRows.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_557000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_Limit10.ORA11G_Partition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001321_727000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_keepWhitespace.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_311000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedPartition.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_141000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneTable_KeepSpoolFile.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_503000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir_TableNamedFiles.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_752000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora_table_named', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_424000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimestampTable.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_849000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedPartition.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_358000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Subpartition_KeepSpoolFile.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_598000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Subpartition_Validate.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_417000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryFile.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_880000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryFile_Limit10.ORA11G_Subpartition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_725000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir_Limit10.ORA11G_Table_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_221000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_WithWideRows.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_711000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable_Email.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_547000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_585000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_DateTable.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_047000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryFile_TableNamedFile.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_478000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', '"C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\SCOTT.TIMESTAMP_TEST_TO.0.sql"', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_TimestampTable_keepWhitespace_Validate.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_607000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_KeepSpoolFile.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_399000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_WithWideRows.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_125000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_keepWhitespace.ORA11G_Table_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_066000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedPartition_Limit10.ORA11G_Table_TruncateTarget_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_063000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_trimWhitespace.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_602000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_781000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_DateTable_JobName.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_815000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'FROM_ORAEXA_DateTable_JobName_TO_ORA11G_Subpartition_TruncateTarget', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_trimWhitespace.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_821000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryFile_trimWhitespace.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_905000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedSubpartition.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_541000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Table_WithWideRows.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_564000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_515000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_trimWhitespace.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_805000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_trimWhitespace.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_931000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_keepWhitespace.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_397000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_KeepSpoolFile.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_181000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_Validate.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_415000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_keepWhitespace.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_247000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_keepWhitespace.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_154000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_keepWhitespace.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_185000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_keepWhitespace.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_068000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryFile_keepWhitespace.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_004000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_keepWhitespace.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_451000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Table_WithWideRows.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_771000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedTimestampTable_keepWhitespace_Validate.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_288000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_trimWhitespace.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_707000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryFile_keepWhitespace.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_941000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_390000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_Limit10.ORA11G_Subpartition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_669000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_518000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryFile_WithWideRows.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_529000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir_trimWhitespace.ORA11G_Table_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_664000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_Limit10.ORA11G_Table_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_035000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_Limit10.ORA11G_Table_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_604000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_Limit10.ORA11G_Table_GetTabnameFromQuery': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_724000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedPartition.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_204000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimestampTable_trimWhitespace.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_143000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_trimWhitespace.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_854000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable_keepWhitespace_Validate.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_551000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTimestampTable_keepWhitespace_Validate.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_157000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_TimezoneTable_KeepSpoolFile.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_641000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedTimestampTable_keepWhitespace_Validate.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_031000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Table_KeepSpoolFile.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_211000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Table_KeepSpoolFile.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_431000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneTable.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_291000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_TableNamedFiles.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_783000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora_table_named', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_904000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTable.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_180000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneQueryFile.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_507000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_477000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_TimestampTable_keepWhitespace_Validate.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_757000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_631000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_198000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneQueryFile.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_285000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimestampTable_trimWhitespace.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_191000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_TimezoneTable_KeepSpoolFile.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_532000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_Table_KeepSpoolFile.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_521000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_TruncateTarget_AskToTruncate.ORA11G_Partition': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_238000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_TimezoneTable.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_332000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Subpartition_KeepSpoolFile.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_692000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_Limit10.ORA11G_Table_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_954000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_keepWhitespace.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_024000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable_keepWhitespace_Validate.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_648000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedPartition.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_119000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Subpartition_WithWideRows.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_166000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_170000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedTable.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_114000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Subpartition_Limit10.ORA11G_Subpartition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_513000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Table_Limit10.ORA11G_Table_TruncateTarget_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_870000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_638000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_224000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable_keepWhitespace_Validate.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_674000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_Validate.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_483000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_307000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_DateTable.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_171000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_KeepSpoolFile.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_118000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryFile_WithWideRows.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_614000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneTable_KeepSpoolFile.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_371000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_DateTable_Email.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_447000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_Validate.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_441000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_keepWhitespace.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_858000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_TimezoneTable.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_087000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_TimezoneTable.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_033000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_DateTable_Email.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_597000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_KeepSpoolFile.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_515000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedSubpartition_Limit10.ORA11G_Subpartition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_026000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir_Limit10.ORA11G_Subpartition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_935000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimezoneTable.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_150000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryFile_TableNamedFile.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_235000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', '"C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\SCOTT.TIMESTAMP_TEST_TO.0.sql"', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_TimestampTable_trimWhitespace.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_981000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable_JobName.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_885000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'FROM_ORAEXA_DateTable_JobName_TO_ORA11G_Partition_TruncateTarget', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_WithWideRows.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_778000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_KeepSpoolFile.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_357000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_997000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_TableNamedFiles.ORA11G_Table_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_965000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora_table_named', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable_Email.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_577000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_ShardedTable_Limit10.ORA11G_Table': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_917000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_Limit10.ORA11G_Table_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001321_760000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_WithWideRows.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_233000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryFile_keepWhitespace.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_881000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_909000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_DateTable_JobName.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_926000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'FROM_ORAEXA_DateTable_JobName_TO_ORA11G_Table_TruncateTarget', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_WithWideRows.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_391000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_Validate.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_358000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Subpartition_KeepSpoolFile.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_486000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimezoneQueryFile.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_597000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir_WithWideRows.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_561000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_trimWhitespace.ORA11G_Table_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_877000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_WithWideRows.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_841000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_TableNamedFile.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_291000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', '"C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\SCOTT.TIMESTAMP_TEST_TO.0.sql"', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_DateTable_JobName.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_005000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'FROM_ORAEXA_DateTable_JobName_TO_ORA11G_Table_TruncateTarget_NoClient', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable_trimWhitespace.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_948000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_TimestampTable_keepWhitespace_Validate.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_704000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_keepWhitespace.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_088000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_026000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Subpartition_KeepSpoolFile.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_781000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_TimestampTable_keepWhitespace_Validate.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_489000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_Validate.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_333000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition_Limit10.ORA11G_Table_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_291000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_trimWhitespace.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_625000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Subpartition_Validate.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_531000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_237000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable_JobName.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_128000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'FROM_ORAEXA_DateTable_JobName_TO_ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_423000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Subpartition.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_975000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_ShardedPartition_Limit10.ORA11G_Table': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_091000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTable_Limit10.ORA11G_Table_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_791000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_trimWhitespace.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_507000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryDir_keepWhitespace.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_347000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir_TableNamedFiles.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_937000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora_table_named', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile.ORA11G_Table_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_034000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_WithWideRows.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_588000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTimestampTable_keepWhitespace_Validate.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_063000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryFile.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_807000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Table_Limit10.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_987000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_TimezoneTable.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_270000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_TruncateTarget_AskToTruncate.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_099000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Table_WithWideRows.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_504000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Table_Limit10.ORA11G_Partition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_747000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_TimezoneTable.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_240000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTable.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_237000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimestampTable_keepWhitespace_Validate.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_514000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_TimestampTable_keepWhitespace_Validate.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_580000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition_Limit10.ORA11G_Table_GetTabnameFromQuery': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_056000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_TimezoneQueryFile.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_479000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_TableNamedFile.ORA11G_Table_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_448000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', '"C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\SCOTT.TIMESTAMP_TEST_TO.0.sql"', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_keepWhitespace.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_197000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTimestampTable_keepWhitespace_Validate.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_097000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryFile_keepWhitespace.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_915000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Subpartition_WithWideRows.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_910000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_trimWhitespace.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_770000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_Validate.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_354000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_691000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_TableNamedFile.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_385000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', '"C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\SCOTT.TIMESTAMP_TEST_TO.0.sql"', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_841000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_297000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Table.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_321000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTable.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_297000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_387000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_trimWhitespace.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_797000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_ShardedTimestampTable_keepWhitespace_Validate.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_216000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_trimWhitespace.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_441000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_TruncateTarget_AskToTruncate.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_300000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_WithWideRows.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_865000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_Limit10.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001321_974000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_875000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_ShardedTable.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_331000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_keepWhitespace.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_406000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_725000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimezoneTable_KeepSpoolFile.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_438000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_NoClient.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_040000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_571000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_KeepSpoolFile.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_493000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_Limit10.ORA11G_Partition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_071000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryFile_trimWhitespace.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_661000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_WithWideRows.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_655000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedPartition.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_058000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_DateTable.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_071000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition_Limit10.ORA11G_Table': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_224000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_keepWhitespace.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_037000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_447000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_DateTable_Email.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_690000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_keepWhitespace.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_154000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_TruncateTarget_AskToTruncate.ORA11G_Table_DeleteTargetRecs': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_390000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_TableNamedFiles.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_003000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora_table_named', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedTable_Limit10.ORA11G_Table_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_967000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_WithWideRows.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_493000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryDir_WithWideRows.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_654000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedPartition_Limit10.ORA11G_Partition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_933000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_Limit10.ORA11G_Subpartition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001321_818000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_094000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_Limit10.ORA11G_Subpartition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_693000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryFile_Limit10.ORA11G_Table_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_808000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_823000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_286000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition_Limit10.ORA11G_Table_TruncateTarget_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_202000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTable.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_083000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_KeepSpoolFile.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_274000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_Validate.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_255000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_ShardedPartition_Limit10.ORA11G_Table_GetTabnameFromQuery': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_906000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_DateTable_Email.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_640000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_553000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_WithWideRows.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_005000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable_JobName.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_035000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'FROM_ORAEXA_DateTable_JobName_TO_ORA11G_Table', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_TruncateTarget_AskToTruncate.ORA11G_Table_GetTabnameFromQuery': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_144000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_DateTable.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_134000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_811000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_Limit10.ORA11G_Table': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_166000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_WithWideRows.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_634000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryDir_trimWhitespace.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_416000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir_trimWhitespace.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_605000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_Limit10.ORA11G_Subpartition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_103000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_WithWideRows.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_978000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_ShardedTable.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_394000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_TimestampTable.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_788000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_TableNamedFile.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_264000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', '"C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\SCOTT.TIMESTAMP_TEST_TO.0.sql"', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_TableNamedFile.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_355000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', '"C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\SCOTT.TIMESTAMP_TEST_TO.0.sql"', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedPartition.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_174000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Table_Limit10.ORA11G_Table_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_783000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneQueryFile.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_414000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryFile_Limit10.ORA11G_Table': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_938000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable_trimWhitespace.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_101000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_KeepSpoolFile.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_248000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_ShardedTable.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_361000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_trimWhitespace.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_782000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_140000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_TruncateTarget_AskToTruncate.ORA11G_Table_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_351000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_WithWideRows.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_384000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir_Limit10.ORA11G_Partition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_005000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_trimWhitespace.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_894000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable_Email.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_754000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_TimezoneQueryFile.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_324000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_Validate.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_269000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryFile_WithWideRows.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_678000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_TimezoneTable_KeepSpoolFile.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_620000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_WithWideRows.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_685000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_keepWhitespace.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_102000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable_Email.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_730000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneTable.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_171000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_NoClient.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_015000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_keepWhitespace.ORA11G_Table_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_614000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable_JobName.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_986000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'FROM_ORAEXA_DateTable_JobName_TO_ORA11G_Subpartition', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir_Limit10.ORA11G_Table_TruncateTarget_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_125000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_WithWideRows.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_525000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_NoClient.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_110000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_477000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_TableNamedFile.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_326000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', '"C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\SCOTT.TIMESTAMP_TEST_TO.0.sql"', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir_WithWideRows.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_419000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryDir_keepWhitespace.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_436000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_KeepSpoolFile.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_248000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Subpartition_Limit10.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_821000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_DateTable.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_257000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition_Limit10.ORA11G_Partition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_084000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Subpartition.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_914000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable_JobName.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_855000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'FROM_ORAEXA_DateTable_JobName_TO_ORA11G_Table_GetTabnameFromQuery', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir_TableNamedFiles.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_904000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora_table_named', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneTable_KeepSpoolFile.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_341000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Table_KeepSpoolFile.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_458000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedPartition.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_297000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_DateTable_JobName.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_098000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'FROM_ORAEXA_DateTable_JobName_TO_ORA11G_Table_DeleteTargetRecs', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable_keepWhitespace_Validate.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_451000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Table_WithWideRows.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_681000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_Limit10.ORA11G_Table_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_931000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_604000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTable_Limit10.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_005000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryFile_Limit10.ORA11G_Table_GetTabnameFromQuery': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_756000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_KeepSpoolFile.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_427000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_NoClient.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_891000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_WithWideRows.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_748000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_Limit10.ORA11G_Table_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001321_950000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable_keepWhitespace_Validate.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_737000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneTable_KeepSpoolFile.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_469000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_DateTable_Email.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_488000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir_WithWideRows.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_354000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryFile_Limit10.ORA11G_Subpartition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_867000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Table_KeepSpoolFile.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_301000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_Limit10.ORA11G_Table_GetTabnameFromQuery': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_541000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedTable_Limit10.ORA11G_Table_GetTabnameFromQuery': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_727000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedTable_Limit10.ORA11G_Table_TruncateTarget_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_884000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_keepWhitespace.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_585000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_WithWideRows.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_812000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_TruncateTarget_AskToTruncate.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_201000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_trimWhitespace.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_537000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_KeepSpoolFile.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_628000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_DateTable_JobName.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_075000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'FROM_ORAEXA_DateTable_JobName_TO_ORA11G_Table_NoClient', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition_Limit10.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_331000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_Validate.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_241000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimestampTable.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_672000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Table_KeepSpoolFile.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_339000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_TruncateTarget_AskToTruncate.ORA11G_Subpartition': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_264000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryFile_keepWhitespace.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_797000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimestampTable_trimWhitespace.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_071000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_keepWhitespace.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_359000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_758000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_WithWideRows.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_475000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir_trimWhitespace.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_631000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_KeepSpoolFile.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_667000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneTable.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_117000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_WithWideRows.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_531000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_WithWideRows.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_574000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_keepWhitespace.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_335000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_447000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir_WithWideRows.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_474000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_ShardedPartition_Limit10.ORA11G_Table_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_155000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTable.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_142000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_DateTable.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_104000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Date_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_KeepSpoolFile.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_219000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_WithWideRows.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_654000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_964000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_WithWideRows.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_723000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir_keepWhitespace.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_521000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition_Limit10.ORA11G_Partition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_145000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryDir_Limit10.ORA11G_Table_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_188000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTable.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_274000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_trimWhitespace.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_688000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_keepWhitespace.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_275000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_TimezoneQueryFile.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_354000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_Validate.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_291000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryDir_keepWhitespace.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_368000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Subpartition_WithWideRows.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_191000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_974000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedPartition_Limit10.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_181000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir_TableNamedFiles.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_847000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora_table_named', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir_trimWhitespace.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_691000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedSubpartition_Limit10.ORA11G_Table_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_108000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition_Limit10.ORA11G_Table_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_266000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_KeepSpoolFile.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_365000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_Validate.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_285000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_NoClient.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_077000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_keepWhitespace.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_551000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_TableNamedFile.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_420000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', '"C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\SCOTT.TIMESTAMP_TEST_TO.0.sql"', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_keepWhitespace.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_208000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryFile.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_931000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_Limit10.ORA11G_Partition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_574000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_TimezoneTable.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_058000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_KeepSpoolFile.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_159000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir_trimWhitespace.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_478000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_002000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTimestampTable_keepWhitespace_Validate.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_257000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_613000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryFile_Limit10.ORA11G_Partition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_786000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_WithWideRows.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_598000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_Validate.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_508000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_TableNamedFile.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_174000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', '"C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\SCOTT.TIMESTAMP_TEST_TO.0.sql"', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_Validate.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_445000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_trimWhitespace.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_752000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir.ORA11G_Table_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_667000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_trimWhitespace.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_847000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_787000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_TimestampTable.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_692000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_Validate.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_325000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Subpartition_Limit10.ORA11G_Table_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_785000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_609000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_keepWhitespace.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_457000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Subpartition_KeepSpoolFile.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_759000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTimestampTable_keepWhitespace_Validate.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_324000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_Limit10.ORA11G_Table_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_974000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedPartition.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_237000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_keepWhitespace.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_644000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryDir_Limit10.ORA11G_Table_GetTabnameFromQuery': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_978000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Subpartition.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_884000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Subpartition_WithWideRows.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_073000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_DateTable_Email.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_514000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Date_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Table_WithWideRows.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_588000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Table_WithWideRows.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_747000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_NoClient.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_861000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryDir_WithWideRows.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_507000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimezoneTable.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_201000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedPartition_Limit10.ORA11G_Partition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_998000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryFile.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_757000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_Validate.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_508000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_Limit10.ORA11G_Table_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_755000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable_trimWhitespace.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_171000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_WithWideRows.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_103000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedPartition.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_268000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_747000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_KeepSpoolFile.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_308000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_004000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Table_WithWideRows.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_618000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_ShardedTable_Limit10.ORA11G_Subpartition_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_707000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_keepWhitespace.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_281000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_Validate.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_375000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_TimestampTable.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_642000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_NoClient.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_986000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'default': [{'ask_to_truncate': ['-E', '--ask_to_truncate', '', 'Ask to truncate.'], 'shard_pre_etl': ['-2', '--shard_pre_etl', '', 'Path to shard level pre-ETL Python script.'], 'keep_data_file': ['-K', '--keep_data_file', '', 'Keep data dump.'], 'default_spool_dir': ['-F', '--default_spool_dir', '', 'Default data dump dir (default_spool_dir/job_name/timestamp).'], 'arg_6': ['-6', '--arg_6', '', 'Generic string argument 1.'], 'lame_duck': ['-l', '--lame_duck', '', 'Limit rows (lame duck run).'], 'copy_vector': ['-w', '--copy_vector', '', 'Data copy direction.'], 'log_dir': ['-M', '--log_dir', '', 'Log destination.'], 'time_stamp': ['-Y', '--time_stamp', '', 'Timestamp (log_dir/job_name/timestamp).'], 'job_name': ['-B', '--job_name', '', 'Job name (log_dir/job_name).'], 'job_pre_etl': ['-1', '--job_pre_etl', '', 'Path to job level pre-ETL Python script.'], 'num_of_shards': ['-r', '--num_of_shards', '', 'Number of shards.'], 'loader_profile': ['-C', '--loader_profile', '', 'SQL*Loader profile (user defined).'], 'email_to': ['-L', '--email_to', '', 'Email job status.'], 'host_map': ['-5', '--host_map', '', 'Host-to-shard map.'], 'arg_8': ['-8', '--arg_8', '', 'Generic string argument 3.'], 'validate': ['-V', '--validate', '', 'Check if source and target objects exist.'], 'arg_7': ['-7', '--arg_7', '', 'Generic string argument 2.'], 'field_term': ['-t', '--field_term', '', 'Field terminator.'], 'pool_size': ['-o', '--pool_size', '', 'Pool size.'], 'column_buckets': ['-0', '--column_buckets', '', 'Wide row support.'], 'job_post_etl': ['-3', '--job_post_etl', '', 'Jobs post-etl script.'], 'truncate_target': ['-U', '--truncate_target', '', 'Truncate target table/partition/subpartition.'], 'shard_post_etl': ['-4', '--shard_post_etl', '', 'Shards post-etl script.'], 'key_on_exit': ['-X', '--key_on_exit', '', 'Ask for an "Enter" key upon exit.']}, {'query_sql_file': ['-q', '--query_sql_file', '', 'Input file with Exadata query sql.'], 'from_db_name': ['-b', '--from_db_name', '', 'Exadata source database.'], 'from_partition': ['-P', '--from_partition', '', 'From partition.'], 'from_sub_partition': ['-S', '--from_sub_partition', '', 'From sub-partition.'], 'header': ['-A', '--header', '', 'Include header to Exadata extract.'], 'from_table': ['-c', '--from_table', '', 'From table.'], 'nls_timestamp_format': ['-m', '--nls_timestamp_format', '', 'nls_timestamp_format for source.'], 'nls_date_format': ['-e', '--nls_date_format', '', 'nls_date_format for source.'], 'keep_whitespace': ['-W', '--keep_whitespace', '', 'Keep whitespace from CHAR type in "Exadata" extract.'], 'nls_timestamp_tz_format': ['-O', '--nls_timestamp_tz_format', '', 'nls_timestamp_tz_format for source.'], 'from_user': ['-j', '--from_user', '', 'Exadata source user.'], 'from_passwd': ['-x', '--from_passwd', '', 'Exadata source user password.'], 'query_sql_dir': ['-Q', '--query_sql_dir', '', 'Input dir with Exadata query files sql.']}, {'to_db_name': ['-d', '--to_db_name', '', 'Oracle 11G database.'], 'to_user': ['-u', '--to_user', '', 'Target Oracle 11G db user.'], 'to_passwd': ['-p', '--to_passwd', '', 'Oracle 11G user password.'], 'to_table': ['-a', '--to_table', '', 'To Oracle table.'], 'to_sub_partition': ['-N', '--to_sub_partition', '', 'To Oracle table.'], 'to_partition': ['-G', '--to_partition', '', 'To Oracle table.']}], 'ORAEXA_Table.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_264000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Table_KeepSpoolFile.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_271000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_ShardedPartition_Limit10.ORA11G_Table_TruncateTarget': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_970000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimestampTable_trimWhitespace.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_050000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_Limit10.ORA11G_Table_TruncateTarget_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_698000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_trimWhitespace.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_740000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryFile_WithWideRows.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_362000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_keepWhitespace.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_121000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_trimWhitespace.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_954000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Subpartition_WithWideRows.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_035000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Subpartition_KeepSpoolFile.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_576000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedSubpartition.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_577000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimestampTable_trimWhitespace.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_890000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryDir_TableNamedFiles.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_684000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora_table_named', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_TimezoneQueryFile.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_386000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_NoClient.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_821000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Subpartition.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001331_848000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Subpartition.ORA11G_Table_NoClient': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_064000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_Partition_Limit10.ORA11G_Partition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001321_787000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryDir_TableNamedFiles.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_871000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora_table_named', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneQueryFile.ORA11G_Subpartition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001337_441000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timezone_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Subpartition_keepWhitespace.ORA11G_Table_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001332_421000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_sub_partition': ('-S', '--from_sub_partition', 'part_15_sp1', 'From sub-partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Sub_Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_keepWhitespace.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_821000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_Validate.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001335_541000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Table_Limit10.ORA11G_Subpartition': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_842000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_QueryFile_keepWhitespace.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001329_976000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_TableNamedFile.ORA11G_Table_GetTabnameFromQuery': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001333_198000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', '"C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\SCOTT.TIMESTAMP_TEST_TO.0.sql"', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedTimestampTable_keepWhitespace_Validate.ORA11G_Table_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_124000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTable.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_204000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_Partition_KeepSpoolFile.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001330_337000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_trimWhitespace.ORA11G_Partition': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001336_718000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_QueryDir.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_691000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_QueryFile_WithWideRows.ORA11G_Table': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_581000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryFile_Limit10.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001328_038000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'query_sql_file': ('-q', '--query_sql_file', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\oracle_query.sql', 'Input file with Exadata query sql.'), 'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_ShardedPartition_Limit10.ORA11G_Table_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001334_121000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_WithWideRows.ORA11G_Table_DeleteTargetRecs': [{'job_pre_etl': ('-1', '--job_pre_etl', '".\\etl_templates\\Oracle\\delete_target_recs\\job_pre_etl.py"', 'Path to job level pre-ETL Python script.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'column_buckets': ('-0', '--column_buckets', 2, 'Wide row support.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001324_618000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_QueryDir_trimWhitespace.ORA11G_Table_TruncateTarget_NoClient': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001327_571000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.'), 'query_sql_dir': ('-Q', '--query_sql_dir', 'C:\\Python27\\data_migrator_1239_12c\\test\\v101\\query\\query_dir_ora', 'Input dir with Exadata query files sql.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_TimezoneTable_KeepSpoolFile.ORA11G_Partition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001323_404000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timezone_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Partitioned_test_to', 'To Oracle table.'), 'to_partition': ('-G', '--to_partition', 'part_15', 'To Oracle table.')}], 'ORAEXA_ShardedTable_Limit10.ORA11G_Table_NoClient': [{'lame_duck': ('-l', '--lame_duck', 10, 'Limit rows (lame duck run).'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001325_937000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', "'(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=orcl)))'", 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Timestamp_test_to', 'To Oracle table.')}], 'ORAEXA_ShardedTimestampTable_keepWhitespace_Validate.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'num_of_shards': ('-r', '--num_of_shards', 3, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 3, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001326_347000', 'Timestamp (log_dir/job_name/timestamp).'), 'validate': ('-V', '--validate', 1, 'Check if source and target objects exist.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_table': ('-c', '--from_table', 'SCOTT.Timestamp_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}], 'ORAEXA_Partition_keepWhitespace.ORA11G_Subpartition_TruncateTarget': [{'ask_to_truncate': ('-E', '--ask_to_truncate', 1, 'Ask to truncate.'), 'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_011000', 'Timestamp (log_dir/job_name/timestamp).'), 'truncate_target': ('-U', '--truncate_target', 1, 'Truncate target table/partition/subpartition.'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'keep_whitespace': ('-W', '--keep_whitespace', 1, 'Keep whitespace from CHAR type in "Exadata" extract.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.'), 'to_table': ('-a', '--to_table', 'SCOTT.Sub_Partitioned_test_to', 'To Oracle table.'), 'to_sub_partition': ('-N', '--to_sub_partition', 'part_15_sp1', 'To Oracle table.')}], 'ORAEXA_Partition_trimWhitespace.ORA11G_Table_GetTabnameFromQuery_DeleteTargetRecs': [{'field_term': ('-t', '--field_term', '"|"', 'Field terminator.'), 'num_of_shards': ('-r', '--num_of_shards', 1, 'Number of shards.'), 'pool_size': ('-o', '--pool_size', 1, 'Pool size.'), 'copy_vector': ('-w', '--copy_vector', 'oraexa-ora11g', 'Data copy direction.'), 'keep_data_file': ('-K', '--keep_data_file', 1, 'Keep data dump.'), 'default_spool_dir': ('-F', '--default_spool_dir', 'C:\\tmp\\TEST_default_spool', 'Default data dump dir (default_spool_dir/job_name/timestamp).'), 'time_stamp': ('-Y', '--time_stamp', '20150514_001322_987000', 'Timestamp (log_dir/job_name/timestamp).'), 'host_map': ('-5', '--host_map', '".\\config\\host_map_v2.py"', 'Host-to-shard map.'), 'job_name': ('-B', '--job_name', 'qc_job', 'Job name (log_dir/job_name).'), 'loader_profile': ('-C', '--loader_profile', '"C:\\Python27\\data_migrator_1239\\config\\loader\\sqlloader.yaml"', 'SQL*Loader profile (user defined).'), 'log_dir': ('-M', '--log_dir', 'C:\\Temp\\qc_log', 'Log destination.')}, {'from_db_name': ('-b', '--from_db_name', 'orcl', 'Exadata source database.'), 'from_partition': ('-P', '--from_partition', 'part_15', 'From partition.'), 'from_table': ('-c', '--from_table', 'SCOTT.Partitioned_test_from', 'From table.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for source.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for source.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for source.'), 'from_user': ('-j', '--from_user', 'SCOTT', 'Exadata source user.'), 'from_passwd': ('-x', '--from_passwd', 'tiger', 'Exadata source user password.')}, {'to_db_name': ('-d', '--to_db_name', 'orcl', 'Oracle 11G database.'), 'nls_date_format': ('-e', '--nls_date_format', '"YYYY-MM-DD HH24.MI.SS"', 'nls_date_format for target.'), 'nls_timestamp_format': ('-m', '--nls_timestamp_format', '"YYYY-MM-DD HH24.MI.SS.FF2"', 'nls_timestamp_format for target.'), 'to_user': ('-u', '--to_user', 'SCOTT', 'Target Oracle 11G db user.'), 'to_passwd': ('-p', '--to_passwd', 'tiger', 'Oracle 11G user password.'), 'nls_timestamp_tz_format': ('-O', '--nls_timestamp_tz_format', '"YYYY-MM-DD HH:MI:SS.FF2 TZH:TZM"', 'nls_timestamp_tz_format for target.')}]} | [
"[email protected]"
] | |
83240fb402ffb441f8ea27fc70d086d6e2787731 | 276dd5dd778adefd039e6f6a71dc574386729401 | /demo2/grpc-services/users/client/sample_client.py | 861eb08c3d04ea39c85a816e156ae04b0ad6b8a4 | [
"MIT"
] | permissive | amitsaha/python-grpc-demo | 4880e64b4b993df4b7eb96f2946b6607fb2dfa82 | 48546bfda83062a3fcb015d352fecb46346e8c92 | refs/heads/master | 2023-01-12T10:01:36.396783 | 2022-10-08T05:10:39 | 2022-10-08T05:10:39 | 101,063,881 | 145 | 52 | MIT | 2022-12-27T17:26:21 | 2017-08-22T13:07:17 | Python | UTF-8 | Python | false | false | 777 | py | import users_pb2_grpc as users_service
import users_types_pb2 as users_messages
from client_wrapper import ServiceClient
def run():
users = ServiceClient(users_service, 'UsersStub', 'localhost', 50051)
# Insert example metadata
metadata = [('ip', '127.0.0.1')]
response = users.CreateUser(
users_messages.CreateUserRequest(username='tom'),
metadata=metadata
)
if response:
print("User created:", response.user.username)
request = users_messages.GetUsersRequest(
user=[users_messages.User(username="alexa", user_id=1),
users_messages.User(username="christie", user_id=1)]
)
response = users.GetUsers(request)
for resp in response:
print(resp)
if __name__ == '__main__':
run()
| [
"[email protected]"
] | |
787d0ead8e3e61a69f630621e29795a58e9c52c3 | 3531bbff49b36aff6289911bc061865e7e59bd46 | /src/HttpGenerator/Plugins/PythonNullWebserverContentProcessorPlugin.py | ef8a2dc856cbfc76161efbbb5e7a1f253b0867ea | [
"LicenseRef-scancode-unknown-license-reference",
"BSL-1.0",
"Python-2.0"
] | permissive | davidbrownell/Common_Web | c5e66fc7ca03cdbd640ef1fe7cc12dafa9c04ef6 | fe3ee9d46cf9f2184434cf950d2c4281b5ec21e7 | refs/heads/master | 2022-09-05T18:33:34.014472 | 2022-06-08T16:44:54 | 2022-06-08T16:44:54 | 95,167,233 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 7,940 | py | # ----------------------------------------------------------------------
# |
# | PythonNullWebserverContentProcessorPlugin.py
# |
# | David Brownell <[email protected]>
# | 2020-08-28 22:15:38
# |
# ----------------------------------------------------------------------
# |
# | Copyright David Brownell 2020-22
# | Distributed under the Boost Software License, Version 1.0. See
# | accompanying file LICENSE_1_0.txt or copy at
# | http://www.boost.org/LICENSE_1_0.txt.
# |
# ----------------------------------------------------------------------
"""Contains the Plugin object"""
import os
import textwrap
import six
import CommonEnvironment
from CommonEnvironment import Interface
from CommonEnvironment import StringHelpers
from CommonEnvironmentEx.Package import InitRelativeImports
# ----------------------------------------------------------------------
_script_fullpath = CommonEnvironment.ThisFullpath()
_script_dir, _script_name = os.path.split(_script_fullpath)
# ----------------------------------------------------------------------
with InitRelativeImports():
from ..Plugin import Plugin as PluginBase
# ----------------------------------------------------------------------
@Interface.staticderived
class Plugin(PluginBase):
# ----------------------------------------------------------------------
# | Public Properties
Name = Interface.DerivedProperty("PythonNullWebserverContentProcessor")
Description = Interface.DerivedProperty("Noop ContentProcessor used by generated Webservers")
# ----------------------------------------------------------------------
# | Public Methods
@staticmethod
@Interface.override
def IsValidEnvironment():
return True
# ----------------------------------------------------------------------
@staticmethod
@Interface.override
def GenerateCustomSettingsAndDefaults():
yield "no_helpers", False
# ----------------------------------------------------------------------
@classmethod
@Interface.override
def GenerateOutputFilenames(cls, context):
filenames = ["__init__.py", "NullContentProcessor.py"]
if not context["plugin_settings"]["no_helpers"]:
filenames += [
os.path.join("Helpers", "__init__.py"),
os.path.join("Helpers", "ContentProcessors.py"),
]
cls._filenames = filenames
return filenames
# ----------------------------------------------------------------------
@classmethod
@Interface.override
def Generate(
cls,
http_code_generator,
invoke_reason,
output_dir,
roots,
status_stream,
verbose_stream,
verbose,
no_helpers,
):
file_header = cls._GenerateFileHeader(
prefix="# ",
)
filenames = [os.path.join(output_dir, filename) for filename in cls._filenames]
# Update the endpoints for processing
endpoints = []
for endpoint_info in six.itervalues(roots):
endpoints += endpoint_info.endpoints
# ----------------------------------------------------------------------
def Impl(endpoint):
endpoint.unique_name = endpoint.unique_name.replace(".", "")
for child in endpoint.children:
Impl(child)
# ----------------------------------------------------------------------
for endpoint in endpoints:
Impl(endpoint)
# __init__.py
assert filenames
status_stream.write("Writing '{}'...".format(filenames[0]))
with status_stream.DoneManager():
with open(filenames[0], "w") as f:
f.write(file_header)
filenames.pop(0)
# NullContentProcessor.py
assert filenames
status_stream.write("Writing '{}'...".format(filenames[0]))
with status_stream.DoneManager():
with open(filenames[0], "w") as f:
f.write(file_header)
WriteNullContentProcessor(f, endpoints)
filenames.pop(0)
if not no_helpers:
# __init__.py
assert filenames
status_stream.write("Writing '{}'...".format(filenames[0]))
with status_stream.DoneManager():
with open(filenames[0], "w") as f:
f.write(file_header)
filenames.pop(0)
# Authenticator
assert filenames
status_stream.write("Writing '{}'...".format(filenames[0]))
with status_stream.DoneManager():
with open(filenames[0], "w") as f:
f.write(file_header)
WriteContentProcessor(f)
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------
def WriteNullContentProcessor(f, endpoints):
content = []
# ----------------------------------------------------------------------
def Impl(endpoint):
for method in endpoint.methods:
content.append(
textwrap.dedent(
"""\
# ----------------------------------------------------------------------
@staticmethod
@Interface.override
def {unique_name}_{method_name}_Request(debug, uri_args, headers, form_data, query_data_body):
return None
# ----------------------------------------------------------------------
@staticmethod
@Interface.override
def {unique_name}_{method_name}_Response(get_ids_func, debug, uri, result):
return 200, [], "{unique_name}_{method_name}: {{}}".format(result)
""",
).format(
unique_name=endpoint.unique_name,
method_name=method.verb,
),
)
for child in endpoint.children:
Impl(child)
# ----------------------------------------------------------------------
for endpoint in endpoints:
Impl(endpoint)
f.write(
textwrap.dedent(
"""\
import sys
import six
from CommonEnvironment import Interface
# Get the ContentProcessorInterface
for name, module in six.iteritems(sys.modules):
if name.split(".")[-1] == "Interfaces" and hasattr(module, "ContentProcessorInterface"):
ContentProcessorInterface = module.ContentProcessorInterface
break
# ----------------------------------------------------------------------
@Interface.staticderived
class NullContentProcessor(ContentProcessorInterface):
{}
""",
).format(StringHelpers.LeftJustify("".join(content).rstrip(), 4)),
)
# ----------------------------------------------------------------------
def WriteContentProcessor(f):
f.write(
textwrap.dedent(
"""\
from CommonEnvironmentEx.Package import InitRelativeImports
with InitRelativeImports():
from ..NullContentProcessor import NullContentProcessor
content_processors = {
None : NullContentProcessor,
}
""",
),
)
| [
"[email protected]"
] | |
3e859dd4d8c7da1dd8f6989bb05ffe7879d48075 | 505343f6ace00d22f8753c1a943a5794a619e698 | /katas/Python/8 kyu/Transportation on vacation 568d0dd208ee69389d000016.py | b4a45d8a8d95e7a907075fea11eac61bcc059cae | [] | no_license | bullet1337/codewars | 7652e50bf768bc47976a9124dd98b93602d4d458 | ba7f13ddd766158b41e036dae5d6b15f7f08761a | refs/heads/master | 2020-03-27T05:04:03.751302 | 2019-04-30T17:45:39 | 2019-04-30T17:45:39 | 145,991,995 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 140 | py | # https://www.codewars.com/kata/568d0dd208ee69389d000016
def rental_car_cost(d):
return d * 40 - (50 if d >= 7 else 20 if d >= 3 else 0) | [
"[email protected]"
] | |
a17c64a742a45832da07a086ce11578fdb82b72e | d532b85841b459c61d88d380e88dd08d29836d43 | /solutions/1418_display_table_of_food_orders_in_a_restaurant.py | 70d472684cea39e66b5cec60e2c88f8f5d159460 | [
"MIT"
] | permissive | YiqunPeng/leetcode_pro | ad942468df5506de9dc48a4019933f658e2a3121 | 4a508a982b125a3a90ea893ae70863df7c99cc70 | refs/heads/master | 2022-05-15T09:32:02.699180 | 2022-05-14T16:32:17 | 2022-05-14T16:32:17 | 182,453,966 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 744 | py | class Solution:
def displayTable(self, orders: List[List[str]]) -> List[List[str]]:
"""Hash table.
"""
foods = set()
tables = {}
for order in orders:
t, f = int(order[1]), order[2]
if t not in tables:
tables[t] = {f: 1}
else:
tables[t][f] = tables[t].get(f, 0) + 1
foods.add(f)
res = []
sfoods = sorted(list(foods))
header = ['Table'] + [f for f in sfoods]
res.append(header)
for k in sorted(tables):
row = [str(k)]
for i in range(1, len(header)):
row.append(str(tables[k].get(header[i], 0)))
res.append(row)
return res
| [
"[email protected]"
] | |
8050dc76614b274c3c99011b53fa8d657839b7a3 | c3c7398ec14865ea34c7f03aa5e012ddb19f0d5b | /DjangoUeditor/adminx.py | e98927add372e607762b88e5328ade5003c6c29b | [] | no_license | mzm5466/blog | 0e022f0ce85a0079cb72ffd9f472c7684f94d9fb | 13625fe7028a0df11a30d7de32751e34d681de00 | refs/heads/master | 2021-01-23T16:51:58.296591 | 2018-11-17T06:05:50 | 2018-11-17T06:05:50 | 102,748,039 | 0 | 0 | null | 2018-11-12T23:28:57 | 2017-09-07T14:36:32 | JavaScript | UTF-8 | Python | false | false | 1,388 | py | #!/usr/bin/python
#-*- coding:utf-8 -*-
#__author__ = 'sai'
#DjangoUeditor Xadmin plugin
import xadmin
from django.db.models import TextField
from xadmin.views import BaseAdminPlugin, ModelFormAdminView, DetailAdminView
from DjangoUeditor.models import UEditorField
from DjangoUeditor.widgets import UEditorWidget
from django.conf import settings
class XadminUEditorWidget(UEditorWidget):
def __init__(self,**kwargs):
self.ueditor_settings=kwargs
self.Media.js = None
super(XadminUEditorWidget, self).__init__(kwargs)
class UeditorPlugin(BaseAdminPlugin):
def get_field_style(self, attrs, db_field, style, **kwargs):
if style == 'ueditor':
if isinstance(db_field, UEditorField):
return {'widget': XadminUEditorWidget(**db_field.formfield().widget.attrs)}
if isinstance(db_field, TextField):
return {'widget': XadminUEditorWidget}
return attrs
def block_extrahead(self, context, nodes):
js = '<script type="text/javascript" src="%s"></script>' % (settings.STATIC_URL + "ueditor/ueditor.config.js")
js += '<script type="text/javascript" src="%s"></script>' % (settings.STATIC_URL + "ueditor/ueditor.all.min.js")
nodes.append(js)
xadmin.site.register_plugin(UeditorPlugin, DetailAdminView)
xadmin.site.register_plugin(UeditorPlugin, ModelFormAdminView)
| [
"[email protected]"
] | |
c102131c6d4a516bfdb9a46b2857ea494a2a4e61 | 2dfedaf52ea247e7545bcf1b62e78e306dbb369f | /tele_theta_gang_bot.py | a352295798f52ff7912945a3006f56b417923c49 | [
"MIT"
] | permissive | nasgoncalves/trading-utils | 5602d6e52d6b62f138d38fe80877af0d0bec58e3 | aa9d3cdb6e9052ff1022a23d5074ec1c540f9161 | refs/heads/main | 2023-04-19T19:47:16.050050 | 2021-05-17T18:53:13 | 2021-05-17T18:53:13 | null | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 5,794 | py | import logging
import os
from datetime import datetime
from telegram import Update
from telegram.ext import (
Updater,
CommandHandler,
MessageHandler,
Filters,
CallbackContext,
)
from common.bot_wrapper import start, help_command
from common.environment import TELEGRAM_THETA_GANG_BOT
from common.external_charts import build_chart_link
from common.logger import init_logging
from common.options import combined_options_df
from common.reporting import build_links_in_markdown
def select_strikes_for(
options_df,
selected_expiry,
option_type,
additional_filters,
sort_criteria,
fetch_limit,
):
option_query = f"(expiration_date == '{selected_expiry}') and (option_type == '{option_type}') and {additional_filters}"
return (
options_df.query(option_query).sort_values(**sort_criteria).head(n=fetch_limit)
)
def filter_strikes(options_df, selected_expiry, delta=0.3):
selected_call_strikes = select_strikes_for(
options_df,
selected_expiry,
option_type="call",
additional_filters=f"(greeks_delta < {delta})",
sort_criteria=dict(by="greeks_delta", ascending=False),
fetch_limit=1,
)
selected_put_strikes = select_strikes_for(
options_df,
selected_expiry,
option_type="put",
additional_filters=f"(greeks_delta > -{delta})",
sort_criteria=dict(by="greeks_delta", ascending=True),
fetch_limit=1,
)
return (
selected_call_strikes.iloc[0].to_dict(),
selected_put_strikes.iloc[0].to_dict(),
)
def collect_strikes(options_df):
unique_expiries = options_df.expiration_date.unique()
selected_strikes = [
filter_strikes(options_df, unique_expiries[0]),
filter_strikes(options_df, unique_expiries[1]),
filter_strikes(options_df, unique_expiries[2]),
]
return selected_strikes
def build_options_trade_info(ticker, options_df):
selected_strikes = collect_strikes(options_df)
referrer = "@thetagangbot"
m = ["_Possible trades_"]
for idx, (call_strike_record, put_strike_record) in enumerate(selected_strikes):
selected_expiry = call_strike_record.get("expiration_date")
call_strike = call_strike_record.get("strike")
call_credit = call_strike_record.get("bid")
put_strike = put_strike_record.get("strike")
put_delta = put_strike_record.get("greeks_delta")
put_credit = put_strike_record.get("bid")
put_break_even = put_strike - put_credit
short_hand_date = datetime.strptime(selected_expiry, "%Y-%m-%d").strftime(
"%y%m%d"
)
short_put_link = f"https://optionstrat.com/build/short-put/{ticker}/-{short_hand_date}P{put_strike}?referral={referrer}"
short_strangle_credit = call_credit + put_credit
strangle_break_even = "(${} <-> ${})".format(
put_strike - short_strangle_credit, call_strike + short_strangle_credit
)
short_strangle_link = f"https://optionstrat.com/build/short-strangle/{ticker}/-{short_hand_date}P{put_strike},-{short_hand_date}C{call_strike}?referral={referrer}"
time_emoji_msg = (idx + 1) * "🕐"
m.append(
f"{time_emoji_msg} *Expiry* {selected_expiry} [Short Put]({short_put_link}) *Strike* ${put_strike}, *Delta* {put_delta}, *Credit* ${'%0.2f' % (put_credit * 100)} *Breakeven* ${put_break_even}"
)
m.append(
f"{time_emoji_msg} *Expiry* {selected_expiry} [Short Strangle]({short_strangle_link}) *Strikes* (${put_strike} <-> ${call_strike}), *Credit* ${'%0.2f' % (short_strangle_credit * 100)}, *Breakeven* {strangle_break_even}"
)
m.append(os.linesep)
return os.linesep.join(m)
def populate_additional_info(ticker):
options_df = combined_options_df(ticker, expiries=3)
options_trade_info = build_options_trade_info(ticker, options_df)
return options_trade_info
def build_response_message(ticker):
logging.info("Processing ticker: {}".format(ticker))
daily_chart_link = build_chart_link(ticker)
sites_urls = build_links_in_markdown(ticker)
additional_info = populate_additional_info(ticker)
disclaimer = "_ Disclaimer: Not financial advice _"
return (
daily_chart_link,
sites_urls + os.linesep + additional_info + os.linesep + disclaimer,
)
def generate_report(ticker, update: Update, context: CallbackContext):
bot = context.bot
cid = update.effective_chat.id
update.message.reply_text(f"Looking up #{ticker}", quote=True)
try:
chart_file, full_message = build_response_message(ticker)
bot.send_photo(cid, chart_file)
bot.send_message(
cid, full_message, disable_web_page_preview=True, parse_mode="Markdown"
)
except (NameError, AttributeError) as e:
bot.send_message(cid, str(e))
def handle_cmd(update: Update, context: CallbackContext) -> None:
maybe_symbol: str = update.message.text
if maybe_symbol.startswith("$"):
ticker = maybe_symbol[1:]
generate_report(ticker, update, context)
def main():
"""Start the bot."""
logging.info("Starting tele-theta-gang bot")
updater = Updater(TELEGRAM_THETA_GANG_BOT, use_context=True)
dispatcher = updater.dispatcher
dispatcher.add_handler(CommandHandler("start", start))
dispatcher.add_handler(CommandHandler("help", help_command))
dispatcher.add_handler(MessageHandler(Filters.text & ~Filters.command, handle_cmd))
updater.start_polling()
updater.idle()
def run_once(ticker):
# Testing
m = populate_additional_info(ticker)
print(m)
exit(-1)
if __name__ == "__main__":
init_logging()
# run_once("GBTC") # - Enable for testing
main()
| [
"[email protected]"
] | |
df02039395f5072d5716d3dda7922462f52db60f | 09e57dd1374713f06b70d7b37a580130d9bbab0d | /benchmark/startQiskit_QC35.py | 47df0d95aeb43e7c3b36125d2db8b174fe628db7 | [
"BSD-3-Clause"
] | permissive | UCLA-SEAL/QDiff | ad53650034897abb5941e74539e3aee8edb600ab | d968cbc47fe926b7f88b4adf10490f1edd6f8819 | refs/heads/main | 2023-08-05T04:52:24.961998 | 2021-09-19T02:56:16 | 2021-09-19T02:56:16 | 405,159,939 | 2 | 0 | null | null | null | null | UTF-8 | Python | false | false | 2,509 | py | # qubit number=3
# total number=9
import numpy as np
from qiskit import QuantumCircuit, execute, Aer, QuantumRegister, ClassicalRegister, transpile, BasicAer, IBMQ
import networkx as nx
from qiskit.visualization import plot_histogram
from typing import *
from pprint import pprint
from math import log2
from collections import Counter
from qiskit.test.mock import FakeVigo, FakeYorktown
kernel = 'circuit/bernstein'
def make_circuit(n:int) -> QuantumCircuit:
# circuit begin
input_qubit = QuantumRegister(n,"qc")
prog = QuantumCircuit(input_qubit)
prog.h(input_qubit[0]) # number=1
prog.h(input_qubit[1]) # number=2
prog.h(input_qubit[2]) # number=3
prog.h(input_qubit[3]) # number=4
for edge in E:
k = edge[0]
l = edge[1]
prog.cp(-2 * gamma, input_qubit[k-1], input_qubit[l-1])
prog.p(gamma, k)
prog.p(gamma, l)
prog.rx(2 * beta, range(len(V)))
prog.swap(input_qubit[3],input_qubit[0]) # number=5
prog.swap(input_qubit[3],input_qubit[0]) # number=6
prog.x(input_qubit[1]) # number=7
prog.x(input_qubit[1]) # number=8
# circuit end
return prog
if __name__ == '__main__':
n = 4
V = np.arange(0, n, 1)
E = [(0, 1, 1.0), (0, 2, 1.0), (1, 2, 1.0), (3, 2, 1.0), (3, 1, 1.0)]
G = nx.Graph()
G.add_nodes_from(V)
G.add_weighted_edges_from(E)
step_size = 0.1
a_gamma = np.arange(0, np.pi, step_size)
a_beta = np.arange(0, np.pi, step_size)
a_gamma, a_beta = np.meshgrid(a_gamma, a_beta)
F1 = 3 - (np.sin(2 * a_beta) ** 2 * np.sin(2 * a_gamma) ** 2 - 0.5 * np.sin(4 * a_beta) * np.sin(4 * a_gamma)) * (
1 + np.cos(4 * a_gamma) ** 2)
result = np.where(F1 == np.amax(F1))
a = list(zip(result[0], result[1]))[0]
gamma = a[0] * step_size
beta = a[1] * step_size
prog = make_circuit(4)
sample_shot =3962
writefile = open("../data/startQiskit_QC35.csv", "w")
# prog.draw('mpl', filename=(kernel + '.png'))
IBMQ.load_account()
provider = IBMQ.get_provider(hub='ibm-q')
provider.backends()
backend = provider.get_backend("ibmq_5_yorktown")
circuit1 = transpile(prog, FakeYorktown())
circuit1.measure_all()
prog = circuit1
info = execute(prog,backend=backend, shots=sample_shot).result().get_counts()
print(info, file=writefile)
print("results end", file=writefile)
print(circuit1.depth(), file=writefile)
print(circuit1, file=writefile)
writefile.close()
| [
"[email protected]"
] | |
5c1262d982e0f6f45641b15959d0970ac3994a78 | 312d40d6023858891dd32bda67579f7284a54c15 | /29/00/add_history.py | 2bd0fedf2437bfc094faa83500c7f3938f0ff799 | [
"CC0-1.0"
] | permissive | pylangstudy/201708 | b67a49f091f5f949954e7b9a910a07761fe9a7d1 | 126b1af96a1d1f57522d5a1d435b58597bea2e57 | refs/heads/master | 2021-01-01T20:49:15.973299 | 2017-08-31T00:18:55 | 2017-08-31T00:18:55 | 98,936,656 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,005 | py | import readline
import datetime
history_file = 'history_file.txt'
readline.set_history_length(1000)
readline.read_history_file(history_file)
print(f'readline.get_history_length():{readline.get_history_length()}')
#ファイル保存はせず、履歴に追加する
for i in range(5): readline.add_history(f'{datetime.datetime.now():%Y-%m-%d %H:%M:%S.%f}')
readline.parse_and_bind('tab: complete')
readline.parse_and_bind('set editing-mode vi')
while True:
line = input('Prompt ("stop" to quit): ')
if line == 'stop':
break
print('ENTERED: "%s"' % line)
readline.append_history_file(1, history_file)
index = readline.get_current_history_length() - 1
# readline.replace_history_item(index, f'{datetime.datetime.now():%Y-%m-%d %H:%M:%S.%f}' + readline.get_history_item(index))#入力直後のを置き換えたかったのに、その1つ前のになってしまう……
readline.replace_history_item(index, f'{datetime.datetime.now():%Y-%m-%d %H:%M:%S.%f}\t' + line)
| [
"[email protected]"
] | |
a76bf89cd9ee66550c29ffffd5bd08c7c8ea0fbd | 3cb6bf94471cf493963c62103bffd3522d432a1e | /backend/users/migrations/0002_auto_20210110_2318.py | 5bf0cc03769bacd76deade31efff899f15fa33a4 | [] | no_license | crowdbotics-apps/triss-tv-app-23760 | be8603d67beacf744474d8bf193d629188e209a4 | a2d50e494b7b601657d70b970d6d161ba3c4bd3f | refs/heads/master | 2023-02-13T14:18:11.525879 | 2021-01-10T23:19:06 | 2021-01-10T23:19:06 | 328,499,013 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 894 | py | # Generated by Django 2.2.17 on 2021-01-10 23:18
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='user',
name='email',
field=models.EmailField(blank=True, max_length=254, null=True),
),
migrations.AlterField(
model_name='user',
name='first_name',
field=models.TextField(blank=True, null=True),
),
migrations.AlterField(
model_name='user',
name='last_name',
field=models.TextField(blank=True, null=True),
),
migrations.AlterField(
model_name='user',
name='name',
field=models.CharField(blank=True, max_length=255, null=True),
),
]
| [
"[email protected]"
] | |
3c8c38ea7cc58deaec59f3c9d44ae9a8059ae81c | 367d2670c75d385d122bca60b9f550ca5b3888c1 | /gem5/env/lib/python3.6/site-packages/celery/security/utils.py | 4714a945c6eed54165b302ff53b82d81957f194c | [
"BSD-3-Clause",
"LicenseRef-scancode-proprietary-license",
"LGPL-2.0-or-later",
"MIT"
] | permissive | Anish-Saxena/aqua_rowhammer_mitigation | 4f060037d50fb17707338a6edcaa0ac33c39d559 | 3fef5b6aa80c006a4bd6ed4bedd726016142a81c | refs/heads/main | 2023-04-13T05:35:20.872581 | 2023-01-05T21:10:39 | 2023-01-05T21:10:39 | 519,395,072 | 4 | 3 | Unlicense | 2023-01-05T21:10:40 | 2022-07-30T02:03:02 | C++ | UTF-8 | Python | false | false | 845 | py | """Utilities used by the message signing serializer."""
import sys
from contextlib import contextmanager
import cryptography.exceptions
from cryptography.hazmat.primitives import hashes
from celery.exceptions import SecurityError, reraise
__all__ = ('get_digest_algorithm', 'reraise_errors',)
def get_digest_algorithm(digest='sha256'):
"""Convert string to hash object of cryptography library."""
assert digest is not None
return getattr(hashes, digest.upper())()
@contextmanager
def reraise_errors(msg='{0!r}', errors=None):
"""Context reraising crypto errors as :exc:`SecurityError`."""
errors = (cryptography.exceptions,) if errors is None else errors
try:
yield
except errors as exc:
reraise(SecurityError,
SecurityError(msg.format(exc)),
sys.exc_info()[2])
| [
"[email protected]"
] | |
b86a9562f3902796cc68cf7e02f02d019b41d8ab | 0a8edda10672e26aa7f3da6f02cff73a2fcb0d98 | /backend/manage.py | a8760740a89a4369038a1ab1b3a99221b669df50 | [] | no_license | crowdbotics-apps/ferpa-22254 | 54de3adca4816f59a5ce1b98cc99202416fb336f | b77ac0392302f1bc94e73dbc4cc68d65ede36401 | refs/heads/master | 2023-01-03T07:55:12.034687 | 2020-11-03T14:47:00 | 2020-11-03T14:47:00 | 309,697,677 | 0 | 1 | null | null | null | null | UTF-8 | Python | false | false | 631 | py | #!/usr/bin/env python
"""Django's command-line utility for administrative tasks."""
import os
import sys
def main():
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'ferpa_22254.settings')
try:
from django.core.management import execute_from_command_line
except ImportError as exc:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
) from exc
execute_from_command_line(sys.argv)
if __name__ == '__main__':
main()
| [
"[email protected]"
] | |
c88e2f5ce525712cffc7291eb254f0f2c831710b | 0499622f93b196f828db7443c05e029fb07f7819 | /miic/src/app/course/serializers.py | eba8782401a4b63095df45533942a46179813cc0 | [] | no_license | kradalby/enigma | ba868d09fb86151de8bab60f2e8c96621d96817c | 1be944ae0a731fc39fdcb2733661520060c8b8f9 | refs/heads/master | 2021-03-22T05:00:31.626446 | 2018-12-21T11:47:27 | 2018-12-21T11:47:27 | 88,087,880 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 199 | py | from rest_framework import serializers
from .models import Course
class CourseSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = Course
field = '__all__'
| [
"[email protected]"
] | |
ec374bf3fdb296ed277d629d332a16e10b662344 | 390a705b795ce223a932cb9fed39f28dcb96933a | /fts/test_ph4_4addcommittee.py | c0ce75fb2fc9e4ab0d706f3e4bc2fd4326cf9874 | [
"LicenseRef-scancode-public-domain"
] | permissive | DonaldMcC/gdms | d74765b4c2356b709adf44438fe929f1e848117a | ee427c28435c9fc76b5c81835fd749789529dd1a | refs/heads/master | 2021-06-22T17:36:08.806735 | 2021-06-18T18:35:39 | 2021-06-18T18:35:39 | 30,919,501 | 6 | 3 | null | 2016-05-30T21:09:09 | 2015-02-17T14:05:53 | Python | UTF-8 | Python | false | false | 4,258 | py | # These tests are all based on the tutorial at http://killer-web-development.com/
# if registration is successful this may work but lets
# try and get user logged in first
from functional_tests import FunctionalTest, ROOT, USERS
import time
from selenium.webdriver.support.ui import WebDriverWait
class AddEvent (FunctionalTest):
def setUp(self):
self.url = ROOT + '/default/user/login'
get_browser = self.browser.get(self.url)
mailstring = USERS['USER1'] + '@user.com'
email = WebDriverWait(self, 10).until(lambda self: self.browser.find_element_by_name("email"))
email.send_keys(mailstring)
password = self.browser.find_element_by_name("password")
password.send_keys(USERS['PASSWORD1'])
submit_button = self.browser.find_element_by_css_selector("#submit_record__row input")
submit_button.click()
time.sleep(1)
self.url = ROOT + '/admin/access_group'
get_browser = self.browser.get(self.url)
time.sleep(1)
def test_has_right_heading(self):
body = self.browser.find_element_by_tag_name('body')
self.assertIn('Access Group Maintenance', body.text)
def test4(self):
toclick = WebDriverWait(self, 12).until(lambda self: self.browser.find_element_by_css_selector("span.buttontext.button"))
toclick.click()
time.sleep(2)
self.browser.find_element_by_id("access_group_group_name").clear()
self.browser.find_element_by_id("access_group_group_name").send_keys("Committee")
self.browser.find_element_by_id("access_group_group_desc").clear()
self.browser.find_element_by_id("access_group_group_desc").send_keys("This is an admin appointed committee group")
self.browser.find_element_by_id("access_group_group_type").send_keys("admin")
self.browser.find_element_by_css_selector("input.btn.btn-primary").click()
time.sleep(2)
body = self.browser.find_element_by_tag_name('body')
self.assertIn('committee', body.text)
def test_adduser2fromgrid(self):
self.url = ROOT + '/admin/group_members'
get_browser = self.browser.get(self.url)
time.sleep(1)
toclick = WebDriverWait(self, 12).until(lambda self: self.browser.find_element_by_css_selector("span.buttontext.button"))
toclick.click()
time.sleep(5)
self.browser.find_element_by_id("group_members_access_group").send_keys("committee")
self.browser.find_element_by_id("group_members_auth_userid").send_keys("Testuser2")
self.browser.find_element_by_css_selector("input.btn.btn-primary").click()
time.sleep(2)
body = self.browser.find_element_by_tag_name('body')
self.assertIn('user2', body.text)
def test_adduser3fromgrid(self):
self.url = ROOT + '/admin/group_members'
get_browser = self.browser.get(self.url)
time.sleep(1)
toclick = WebDriverWait(self, 12).until(lambda self: self.browser.find_element_by_css_selector("span.buttontext.button"))
toclick.click()
time.sleep(5)
self.browser.find_element_by_id("group_members_access_group").send_keys("committee")
self.browser.find_element_by_id("group_members_auth_userid").send_keys("Testuser3")
self.browser.find_element_by_css_selector("input.btn.btn-primary").click()
time.sleep(2)
body = self.browser.find_element_by_tag_name('body')
self.assertIn('user3', body.text)
def test_adduser4fromgrid(self):
self.url = ROOT + '/admin/group_members'
get_browser = self.browser.get(self.url)
time.sleep(1)
toclick = WebDriverWait(self, 12).until(lambda self: self.browser.find_element_by_css_selector("span.buttontext.button"))
toclick.click()
time.sleep(5)
self.browser.find_element_by_id("group_members_access_group").send_keys("committee")
self.browser.find_element_by_id("group_members_auth_userid").send_keys("Testuser4")
self.browser.find_element_by_css_selector("input.btn.btn-primary").click()
time.sleep(2)
body = self.browser.find_element_by_tag_name('body')
self.assertIn('user4', body.text)
| [
"[email protected]"
] | |
a7c91ccdca3907968a379edf1b5c5e93736b9841 | 1aaba2be0479b43a76f3e85ea62cad8d42827d49 | /lib/pymedphys/_experimental/streamlit/apps/wlutz/_config.py | 729cb4145a1f603bd63282aa604a23adbd1edcdf | [
"Apache-2.0"
] | permissive | changran/pymedphys | a44a9aa9ec375c17ea73815c1a8e2a6a5a002c1e | 164a7a5c6051ab4c8fd6efdb79c3bfb0684b65df | refs/heads/main | 2023-07-30T21:32:07.697743 | 2021-09-10T11:37:02 | 2021-09-10T11:37:02 | 407,394,958 | 1 | 0 | Apache-2.0 | 2021-09-17T03:42:49 | 2021-09-17T03:42:48 | null | UTF-8 | Python | false | false | 426 | py | import pathlib
import pymedphys
from pymedphys._streamlit.utilities import config as st_config
def download_demo_data():
cwd = pathlib.Path.cwd()
pymedphys.zip_data_paths("wlutz-demo-files.zip", extract_directory=cwd)
return cwd.joinpath("wlutz-demo-files")
def get_config(demo_mode):
if demo_mode:
path = download_demo_data()
else:
path = None
return st_config.get_config(path)
| [
"[email protected]"
] | |
90248ea8ac3c346f7327722ae33c64935738b31e | a24e34fd3a40d74b487cac0db7a26e3c15eec3f2 | /feature_experiment/__init__.py | 301895c9656dc07cfcd0f5fc0018fd5754d3b013 | [
"MIT"
] | permissive | PKQ1688/image_retrieval | 7e51a4e56dea7bd418dd658a9b95f87c4f7d36e5 | c9269e2b1dc6bfe3c1f4c37e1fb47d9697cb4872 | refs/heads/master | 2023-02-01T02:26:59.314285 | 2020-07-23T05:40:26 | 2020-07-23T05:40:26 | 271,463,472 | 5 | 0 | null | null | null | null | UTF-8 | Python | false | false | 40 | py | # -*- coding:utf-8 -*-
# @author :adolf
| [
"[email protected]"
] | |
699b4704ebf635c6003115c3036eecf1060a2e4c | 45ba55b4fbdaf1657fde92beaeba4f173265afcd | /strawberry/experimental/pydantic/_compat.py | acc666f6203a928f1eb2d7b33d69d2381976ca54 | [
"MIT",
"LicenseRef-scancode-unknown-license-reference"
] | permissive | strawberry-graphql/strawberry | af96afd4edd1788c59e150597a12501fbc7bf444 | 6d86d1c08c1244e00535840d9d87925431bc6a1c | refs/heads/main | 2023-08-30T03:34:12.929874 | 2023-08-24T12:01:09 | 2023-08-24T12:01:09 | 162,690,887 | 3,408 | 529 | MIT | 2023-09-14T21:49:44 | 2018-12-21T08:56:55 | Python | UTF-8 | Python | false | false | 3,165 | py | import dataclasses
from dataclasses import dataclass
from typing import TYPE_CHECKING, Any, Callable, Dict, Optional, Type
import pydantic
from pydantic import BaseModel
from pydantic.version import VERSION as PYDANTIC_VERSION
if TYPE_CHECKING:
from pydantic.fields import FieldInfo
IS_PYDANTIC_V2: bool = PYDANTIC_VERSION.startswith("2.")
IS_PYDANTIC_V1: bool = not IS_PYDANTIC_V2
@dataclass
class CompatModelField:
name: str
type_: Any
outer_type_: Any
default: Any
default_factory: Optional[Callable[[], Any]]
required: bool
alias: Optional[str]
allow_none: bool
has_alias: bool
description: Optional[str]
if pydantic.VERSION[0] == "2":
from typing_extensions import get_args, get_origin
from pydantic._internal._typing_extra import is_new_type
from pydantic._internal._utils import lenient_issubclass, smart_deepcopy
from pydantic_core import PydanticUndefined
PYDANTIC_MISSING_TYPE = PydanticUndefined
def new_type_supertype(type_: Any) -> Any:
return type_.__supertype__
def get_model_fields(model: Type[BaseModel]) -> Dict[str, CompatModelField]:
field_info: dict[str, FieldInfo] = model.model_fields
new_fields = {}
# Convert it into CompatModelField
for name, field in field_info.items():
new_fields[name] = CompatModelField(
name=name,
type_=field.annotation,
outer_type_=field.annotation,
default=field.default,
default_factory=field.default_factory,
required=field.is_required(),
alias=field.alias,
# v2 doesn't have allow_none
allow_none=False,
has_alias=field is not None,
description=field.description,
)
return new_fields
else:
from pydantic.typing import ( # type: ignore[no-redef]
get_args,
get_origin,
is_new_type,
new_type_supertype,
)
from pydantic.utils import ( # type: ignore[no-redef]
lenient_issubclass,
smart_deepcopy,
)
PYDANTIC_MISSING_TYPE = dataclasses.MISSING # type: ignore[assignment]
def get_model_fields(model: Type[BaseModel]) -> Dict[str, CompatModelField]:
new_fields = {}
# Convert it into CompatModelField
for name, field in model.__fields__.items(): # type: ignore[attr-defined]
new_fields[name] = CompatModelField(
name=name,
type_=field.type_,
outer_type_=field.outer_type_,
default=field.default,
default_factory=field.default_factory,
required=field.required,
alias=field.alias,
allow_none=field.allow_none,
has_alias=field.has_alias,
description=field.field_info.description,
)
return new_fields
__all__ = [
"smart_deepcopy",
"lenient_issubclass",
"get_args",
"get_origin",
"is_new_type",
"new_type_supertype",
"get_model_fields",
"PYDANTIC_MISSING_TYPE",
]
| [
"[email protected]"
] | |
b5ee6d5a3b546ae9bfd3fe883befddb05375e281 | 4324d19af69080f45ff60b733c940f7dc1aa6dae | /google-ads-python/google/ads/google_ads/v0/proto/resources/topic_view_pb2.py | 8479d48ea067e902b438526e2c67da3d9c2985f8 | [
"Apache-2.0",
"LicenseRef-scancode-generic-cla"
] | permissive | ljborton/Forked_Work | cc8a3813c146ea4547aca9caeb03e649bbdb9076 | 7aaf67af8d9f86f9dc0530a1ad23951bcb535c92 | refs/heads/master | 2023-07-19T22:26:48.085129 | 2019-11-27T02:53:51 | 2019-11-27T02:53:51 | 224,321,748 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | true | 3,068 | py | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: google/ads/googleads_v0/proto/resources/topic_view.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor.FileDescriptor(
name='google/ads/googleads_v0/proto/resources/topic_view.proto',
package='google.ads.googleads.v0.resources',
syntax='proto3',
serialized_options=_b('\n%com.google.ads.googleads.v0.resourcesB\016TopicViewProtoP\001ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v0/resources;resources\242\002\003GAA\252\002!Google.Ads.GoogleAds.V0.Resources\312\002!Google\\Ads\\GoogleAds\\V0\\Resources\352\002%Google::Ads::GoogleAds::V0::Resources'),
serialized_pb=_b('\n8google/ads/googleads_v0/proto/resources/topic_view.proto\x12!google.ads.googleads.v0.resources\"\"\n\tTopicView\x12\x15\n\rresource_name\x18\x01 \x01(\tB\xfb\x01\n%com.google.ads.googleads.v0.resourcesB\x0eTopicViewProtoP\x01ZJgoogle.golang.org/genproto/googleapis/ads/googleads/v0/resources;resources\xa2\x02\x03GAA\xaa\x02!Google.Ads.GoogleAds.V0.Resources\xca\x02!Google\\Ads\\GoogleAds\\V0\\Resources\xea\x02%Google::Ads::GoogleAds::V0::Resourcesb\x06proto3')
)
_TOPICVIEW = _descriptor.Descriptor(
name='TopicView',
full_name='google.ads.googleads.v0.resources.TopicView',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='resource_name', full_name='google.ads.googleads.v0.resources.TopicView.resource_name', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=95,
serialized_end=129,
)
DESCRIPTOR.message_types_by_name['TopicView'] = _TOPICVIEW
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
TopicView = _reflection.GeneratedProtocolMessageType('TopicView', (_message.Message,), dict(
DESCRIPTOR = _TOPICVIEW,
__module__ = 'google.ads.googleads_v0.proto.resources.topic_view_pb2'
,
__doc__ = """A topic view.
Attributes:
resource_name:
The resource name of the topic view. Topic view resource names
have the form: ``customers/{customer_id}/topicViews/{ad_group
_id}_{criterion_id}``
""",
# @@protoc_insertion_point(class_scope:google.ads.googleads.v0.resources.TopicView)
))
_sym_db.RegisterMessage(TopicView)
DESCRIPTOR._options = None
# @@protoc_insertion_point(module_scope)
| [
"[email protected]"
] | |
0c7a2e5aca3dd8f431def73dd1ccb655570c9897 | 84297380d00453e71f65c591dca046bd41a32184 | /ABC/ABC165/A.py | 52ca6878fd2f4b0799ac8c12ddf0293950e1d009 | [] | no_license | daiki1998/atcoder | a5ef25245b1bbc3a5e33044846a3c16213603bd3 | d864a7cb11e41dbf6a691f5d128fdfe122b07046 | refs/heads/main | 2023-03-06T22:55:29.863716 | 2021-02-18T12:01:24 | 2021-02-18T12:01:24 | 323,401,954 | 1 | 0 | null | null | null | null | UTF-8 | Python | false | false | 135 | py |
K = int(input())
A, B = map(int, input().split())
res = "NG"
for i in range(B+1):
if A <= K*i <= B:
res = "OK"
print(res) | [
"[email protected]"
] | |
c25fc95d3fd80a2aaae02c8f79e75ce5c24a2c92 | 4f8a6af26d8220238e608577202ffc88c14f403e | /pedido/migrations/0002_remove_pedido_numero.py | e3535aa67a570fbec3c9f9f6c9be5a3d236b2e69 | [] | no_license | ryujiin/dc | 87338fb9820d8768391ea65c5b6cc1a6ea94db4f | b6f5b6a8624611f6513fd581457f171783800935 | refs/heads/master | 2021-01-01T06:33:38.940622 | 2015-08-24T02:42:55 | 2015-08-24T02:42:55 | 31,668,034 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 340 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('pedido', '0001_initial'),
]
operations = [
migrations.RemoveField(
model_name='pedido',
name='numero',
),
]
| [
"[email protected]"
] | |
a92c0a10aeeed0a16c66d9b710b73c346446f7a8 | d99eba79ac942f4ca4dbc3187ef97f593d6dbc46 | /anatomy_tagging/migrations/0019_auto_constraints.py | b6c370a32b240276bc6d4139c4420397cab504f0 | [] | no_license | adaptive-learning/anatomy-tagging | 6028b0749b54efaac7d32738959b5eaf4d78f0bd | 46561468d96c5cc9cc4c6c9b093b27cea69b65b6 | refs/heads/master | 2020-04-10T01:47:14.149395 | 2017-06-19T17:08:36 | 2017-06-19T17:08:36 | 30,142,622 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 1,569 | py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('anatomy_tagging', '0018_auto_composite_relation_type'),
]
operations = [
migrations.AlterField(
model_name='term',
name='body_part',
field=models.CharField(default=b'', max_length=10, null=True, blank=True),
preserve_default=True,
),
migrations.AlterField(
model_name='term',
name='name_cs',
field=models.TextField(max_length=200, null=True, blank=True),
preserve_default=True,
),
migrations.AlterField(
model_name='term',
name='name_en',
field=models.TextField(max_length=200, null=True, blank=True),
preserve_default=True,
),
migrations.AlterField(
model_name='term',
name='name_la',
field=models.TextField(max_length=200, null=True, blank=True),
preserve_default=True,
),
migrations.AlterField(
model_name='term',
name='parent',
field=models.ForeignKey(blank=True, to='anatomy_tagging.Term', null=True),
preserve_default=True,
),
migrations.AlterField(
model_name='term',
name='system',
field=models.CharField(default=b'', max_length=30, null=True, blank=True),
preserve_default=True,
),
]
| [
"[email protected]"
] | |
46c93d3cf171f2c155c9f767abf4d8d7896ab549 | 890c8b8e90e516a5a3880eca9b2d217662fe7d84 | /armulator/armv6/opcodes/abstract_opcodes/ldrh_immediate_arm.py | 82362526630b6123504a3ea2f746261e0e88d05c | [
"MIT"
] | permissive | doronz88/armulator | b864135996f876c7857b79a314d4aa06cc19c549 | 0294feac2785c8947e5943ac0c34f941ee4b5fff | refs/heads/master | 2022-11-05T08:14:42.405335 | 2020-06-18T23:53:17 | 2020-06-18T23:53:17 | 273,363,061 | 2 | 0 | null | 2020-06-18T23:51:03 | 2020-06-18T23:51:02 | null | UTF-8 | Python | false | false | 1,383 | py | from armulator.armv6.opcodes.abstract_opcode import AbstractOpcode
from armulator.armv6.bits_ops import add as bits_add, sub as bits_sub, zero_extend
from bitstring import BitArray
class LdrhImmediateArm(AbstractOpcode):
def __init__(self, add, wback, index, imm32, t, n):
super(LdrhImmediateArm, self).__init__()
self.add = add
self.wback = wback
self.index = index
self.imm32 = imm32
self.t = t
self.n = n
def execute(self, processor):
if processor.condition_passed():
offset_addr = bits_add(processor.registers.get(self.n), self.imm32, 32) if self.add else bits_sub(
processor.registers.get(self.n), self.imm32, 32)
address = offset_addr if self.index else processor.registers.get(self.n)
data = processor.mem_u_get(address, 2)
if self.wback:
processor.registers.set(self.n, offset_addr)
if processor.unaligned_support() or not address[31]:
processor.registers.set(self.t, zero_extend(data, 32))
else:
processor.registers.set(self.t, BitArray(length=32)) # unknown
def instruction_syndrome(self):
if self.t == 15 or self.wback:
return BitArray(length=9)
else:
return BitArray(bin="10100") + BitArray(uint=self.t, length=4)
| [
"[email protected]"
] | |
de1e554cbb1e97d15a561b0089ad7efb7e68848a | f9d564f1aa83eca45872dab7fbaa26dd48210d08 | /huaweicloud-sdk-codeartsdeploy/huaweicloudsdkcodeartsdeploy/v2/model/env_execution_body.py | b1206af38ed6c9f476f85bc485956faecbbe6825 | [
"Apache-2.0"
] | permissive | huaweicloud/huaweicloud-sdk-python-v3 | cde6d849ce5b1de05ac5ebfd6153f27803837d84 | f69344c1dadb79067746ddf9bfde4bddc18d5ecf | refs/heads/master | 2023-09-01T19:29:43.013318 | 2023-08-31T08:28:59 | 2023-08-31T08:28:59 | 262,207,814 | 103 | 44 | NOASSERTION | 2023-06-22T14:50:48 | 2020-05-08T02:28:43 | Python | UTF-8 | Python | false | false | 5,498 | py | # coding: utf-8
import six
from huaweicloudsdkcore.utils.http_utils import sanitize_for_serialization
class EnvExecutionBody:
"""
Attributes:
openapi_types (dict): The key is attribute name
and the value is attribute type.
attribute_map (dict): The key is attribute name
and the value is json key in definition.
"""
sensitive_list = []
openapi_types = {
'params': 'list[DynamicConfigInfo]',
'record_id': 'str',
'trigger_source': 'str'
}
attribute_map = {
'params': 'params',
'record_id': 'record_id',
'trigger_source': 'trigger_source'
}
def __init__(self, params=None, record_id=None, trigger_source=None):
"""EnvExecutionBody
The model defined in huaweicloud sdk
:param params: 部署应用时传递的参数
:type params: list[:class:`huaweicloudsdkcodeartsdeploy.v2.DynamicConfigInfo`]
:param record_id: 应用的部署id,可通过record_id回滚至之前的部署状态。选中应用历史部署记录,在URL中获取
:type record_id: str
:param trigger_source: 限制触发来源,0不限制任何部署请求来源,1时只允许通过流水线触发部署
:type trigger_source: str
"""
self._params = None
self._record_id = None
self._trigger_source = None
self.discriminator = None
if params is not None:
self.params = params
if record_id is not None:
self.record_id = record_id
if trigger_source is not None:
self.trigger_source = trigger_source
@property
def params(self):
"""Gets the params of this EnvExecutionBody.
部署应用时传递的参数
:return: The params of this EnvExecutionBody.
:rtype: list[:class:`huaweicloudsdkcodeartsdeploy.v2.DynamicConfigInfo`]
"""
return self._params
@params.setter
def params(self, params):
"""Sets the params of this EnvExecutionBody.
部署应用时传递的参数
:param params: The params of this EnvExecutionBody.
:type params: list[:class:`huaweicloudsdkcodeartsdeploy.v2.DynamicConfigInfo`]
"""
self._params = params
@property
def record_id(self):
"""Gets the record_id of this EnvExecutionBody.
应用的部署id,可通过record_id回滚至之前的部署状态。选中应用历史部署记录,在URL中获取
:return: The record_id of this EnvExecutionBody.
:rtype: str
"""
return self._record_id
@record_id.setter
def record_id(self, record_id):
"""Sets the record_id of this EnvExecutionBody.
应用的部署id,可通过record_id回滚至之前的部署状态。选中应用历史部署记录,在URL中获取
:param record_id: The record_id of this EnvExecutionBody.
:type record_id: str
"""
self._record_id = record_id
@property
def trigger_source(self):
"""Gets the trigger_source of this EnvExecutionBody.
限制触发来源,0不限制任何部署请求来源,1时只允许通过流水线触发部署
:return: The trigger_source of this EnvExecutionBody.
:rtype: str
"""
return self._trigger_source
@trigger_source.setter
def trigger_source(self, trigger_source):
"""Sets the trigger_source of this EnvExecutionBody.
限制触发来源,0不限制任何部署请求来源,1时只允许通过流水线触发部署
:param trigger_source: The trigger_source of this EnvExecutionBody.
:type trigger_source: str
"""
self._trigger_source = trigger_source
def to_dict(self):
"""Returns the model properties as a dict"""
result = {}
for attr, _ in six.iteritems(self.openapi_types):
value = getattr(self, attr)
if isinstance(value, list):
result[attr] = list(map(
lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
value
))
elif hasattr(value, "to_dict"):
result[attr] = value.to_dict()
elif isinstance(value, dict):
result[attr] = dict(map(
lambda item: (item[0], item[1].to_dict())
if hasattr(item[1], "to_dict") else item,
value.items()
))
else:
if attr in self.sensitive_list:
result[attr] = "****"
else:
result[attr] = value
return result
def to_str(self):
"""Returns the string representation of the model"""
import simplejson as json
if six.PY2:
import sys
reload(sys)
sys.setdefaultencoding("utf-8")
return json.dumps(sanitize_for_serialization(self), ensure_ascii=False)
def __repr__(self):
"""For `print`"""
return self.to_str()
def __eq__(self, other):
"""Returns true if both objects are equal"""
if not isinstance(other, EnvExecutionBody):
return False
return self.__dict__ == other.__dict__
def __ne__(self, other):
"""Returns true if both objects are not equal"""
return not self == other
| [
"[email protected]"
] | |
50688ed44d8bd1d4a1ef450b21069878a4a36032 | 0fccee4c738449f5e0a8f52ea5acabf51db0e910 | /genfragments/EightTeV/EstarToEG_L10000_M2400_8TeV_pythia8_cff.py | 5391ffb60a29f8eaa4a3b41e7b1861224dd1978b | [] | no_license | cms-sw/genproductions | f308ffaf3586c19b29853db40e6d662e937940ff | dd3d3a3826343d4f75ec36b4662b6e9ff1f270f4 | refs/heads/master | 2023-08-30T17:26:02.581596 | 2023-08-29T14:53:43 | 2023-08-29T14:53:43 | 11,424,867 | 69 | 987 | null | 2023-09-14T12:41:28 | 2013-07-15T14:18:33 | Python | UTF-8 | Python | false | false | 874 | py | import FWCore.ParameterSet.Config as cms
generator = cms.EDFilter("Pythia8GeneratorFilter",
maxEventsToPrint = cms.untracked.int32(0),
pythiaPylistVerbosity = cms.untracked.int32(1),
pythiaHepMCVerbosity = cms.untracked.bool(False),
filterEfficiency = cms.untracked.double(1.),
comEnergy = cms.double(8000.0),
crossSection = cms.untracked.double(0.000008795),
PythiaParameters = cms.PSet(
processParameters = cms.vstring(
'Tune:pp 5',
'ExcitedFermion:qqbar2eStare = on',
'ExcitedFermion:Lambda= 10000',
'4000011:onMode = off',
'4000011:onIfMatch = 11 22',
'4000011:m0 = 2400'
),
parameterSets = cms.vstring('processParameters')
)
)
| [
"[email protected]"
] | |
3789c4bb30efb30fcd70b94d844283827ef69b86 | 3f60f9e1081fd08824254006f7fd2fd1b4b56731 | /POI/no_salary_dec_tree.py | c31cfe251192ddb24877623e1ef3d4958b723947 | [] | no_license | mihirkelkar/Text_Mining_Enron | 0e37abfe7cc916b6f278ddd6bb72ac4b48283425 | b7e2d59bc38bb62e68a61d2348aa5302f5cf5918 | refs/heads/master | 2020-04-15T21:49:42.673886 | 2015-04-18T00:03:58 | 2015-04-18T00:03:58 | 30,212,104 | 1 | 1 | null | null | null | null | UTF-8 | Python | false | false | 1,798 | py | import matplotlib.pyplot as plt
import sys
import pickle
import sklearn
import time
import numpy as np
from data_sorter import featuresProcess
from data_sorter import split
from sklearn import cross_validation
from sklearn.tree import DecisionTreeClassifier
outliers = ["SKILLING JEFFREY K", "LAY KENNETH L", "FREVERT MARK A", "PICKERING MARK R"]
data = pickle.load(open("enron.pkl", "r"))
features = ["salary", "bonus"]
for ii in outliers:
del data[ii]
def get_information(key, total, data):
retval = list()
for ii in data:
if data[ii][key] == "NaN" or data[ii][total] == "NaN":
retval.append(0.0)
elif data[ii][key] >= 0:
retval.append(float(data[ii][key]) / float(data[ii][total]))
return retval
email_from_poi = get_information("from_poi_to_this_person", "to_messages", data)
email_to_poi = get_information("from_this_person_to_poi", "from_messages", data)
count = 0
for ii in data:
data[ii]["email_from_poi"] = email_from_poi[count]
data[ii]["email_to_poi"] = email_to_poi[count]
count += 1
features_list = ["poi", "bonus", "email_from_poi", "email_to_poi",'deferral_payments', 'total_payments']
dataset = featuresProcess(data, features_list)
labels, features = split(dataset)
features_train, features_test, labels_train, labels_test = cross_validation.train_test_split(features, labels, test_size=0.1, random_state=42)
time_start = time.time()
dtree = DecisionTreeClassifier()
dtree.fit(features_train, labels_train)
score = dtree.score(features_test, labels_test)
print "Accuracy ", score
print "Decesion tree took time : ", time.time() - time_start
feat_ranks = dtree.feature_importances_
indices = np.argsort(feat_ranks)[::-1]
for ii in range(4):
print "{} feature {} ({})".format(ii+1, features_list[ii + 1], feat_ranks[indices[ii]])
| [
"[email protected]"
] | |
2ea00a15afca3cb49583cb81775e962b8e8bf4b4 | f62ff90d7850af458d8f12386fc9ee9134dbe7c1 | /Plots/Thesisplots/Model_7/Current_Voltage_Curves.py | 493ccafbc13c2df1aac1fefcad93ba1a953d0b12 | [] | no_license | AlexSchmid22191/EIS_R_Sim | 51b431f078cb455fc38637c192436c0523449565 | 851b061e60811e1e58a5b2fd4e393e529c3f86ac | refs/heads/master | 2023-06-27T17:40:59.177270 | 2021-07-22T11:50:27 | 2021-07-22T11:50:27 | 380,768,174 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 9,878 | py | from matplotlib.pyplot import subplots, show
from matplotlib.style import use
from numpy import load, log10
from Equations import e, k, T
from Semilog_Slope import semilog_slope
from matplotlib.ticker import LogLocator, NullFormatter, MultipleLocator
use('../Thesis_Small.mplstyle')
data = load('../../../Currents_Resistances_Model_7/Current_Data_Model_7.npy')
# ----------------------------------------------------------------------------------------------------------------------
fig_abs_uh, ax_abs_uh = subplots()
fig_abs_hi, ax_abs_hi = subplots()
fig_abs_me, ax_abs_me = subplots()
fig_abs_lo, ax_abs_lo = subplots()
# Highest oxygen partial pressures
for i in (2300, 2200, 2100, 2000, 1900):
ax_abs_uh.plot(data['overpotential'][1::25, i], abs(data['current'][1::25, i]), linestyle='-',
label='$10^{%d}$ bar' % log10(data['pressure'][1, i]))
# High oxygen partial pressures
for i in (1800, 1700, 1600, 1500, 1400):
ax_abs_hi.plot(data['overpotential'][1::25, i], abs(data['current'][1::25, i]), linestyle='-',
label='$10^{%d}$ bar' % log10(data['pressure'][1, i]))
# Medium oxygen partial pressures
for i in (1300, 1200, 1100, 1000, 900):
ax_abs_me.plot(data['overpotential'][1::25, i], abs(data['current'][1::25, i]), linestyle='-',
label='$10^{%d}$ bar' % log10(data['pressure'][1, i]))
# Low oxygen partial pressures
for i in (800, 700, 600, 500, 400):
ax_abs_lo.plot(data['overpotential'][1::25, i], abs(data['current'][1::25, i]), linestyle='-',
label='$10^{%d}$ bar' % log10(data['pressure'][1, i]))
semilog_slope(origin=(-0.1, 1e9), slope=-2*e/k/T, ax=ax_abs_uh, text=r'$-\frac{2e}{kT}$', size=12, inverted=False)
semilog_slope(origin=(-0.45, 3e6), slope=-1*e/k/T, ax=ax_abs_uh, text=r'$-\frac{e}{kT}$', size=12, inverted=True)
semilog_slope(origin=(0.3, 1e11), slope=2*e/k/T, ax=ax_abs_uh, text=r'$\frac{2e}{kT}$', size=12, inverted=False)
semilog_slope(origin=(-0.4, 1e2), slope=-1*e/k/T, ax=ax_abs_hi, text=r'$\frac{e}{kT}$', size=12, inverted=True)
semilog_slope(origin=(0.4, 1e3), slope=2*e/k/T, ax=ax_abs_hi, text=r'$\frac{2e}{kT}$', size=12, inverted=False)
semilog_slope(origin=(0.5, 1e2), slope=2*e/k/T, ax=ax_abs_me, text=r'$\frac{2e}{kT}$', size=12, inverted=False)
semilog_slope(origin=(0.2, 1e-2), slope=3*e/k/T, ax=ax_abs_me, text=r'$\frac{3e}{kT}$', size=12, inverted=False)
semilog_slope(origin=(-0.5, 1e-1), slope=-1*e/k/T, ax=ax_abs_me, text=r'$\frac{e}{kT}$', size=12, inverted=True)
semilog_slope(origin=(0.25, 1e-5), slope=3*e/k/T, ax=ax_abs_lo, text=r'$\frac{3e}{kT}$', size=12, inverted=False)
semilog_slope(origin=(0.35, 1e4), slope=2*e/k/T, ax=ax_abs_lo, text=r'$\frac{2e}{kT}$', size=12, inverted=True)
semilog_slope(origin=(-0.3, 1e-6), slope=-1*e/k/T, ax=ax_abs_lo, text=r'$\frac{e}{kT}$', size=12, inverted=True)
ax_abs_uh.set_yscale('log')
ax_abs_hi.set_yscale('log')
ax_abs_me.set_yscale('log')
ax_abs_lo.set_yscale('log')
ax_abs_uh.set_ylim(1e2, 1e13)
ax_abs_hi.set_ylim(1e-1, 1e11)
ax_abs_me.set_ylim(1e-4, 1e8)
ax_abs_lo.set_ylim(1e-8, 1e6)
ax_abs_lo.yaxis.set_major_locator(LogLocator(numticks=13))
ax_abs_lo.yaxis.set_minor_locator(LogLocator(numticks=13, subs=range(1, 10)))
ax_abs_lo.yaxis.set_minor_formatter(NullFormatter())
ax_abs_uh.yaxis.set_major_locator(LogLocator(numticks=13))
ax_abs_uh.yaxis.set_minor_locator(LogLocator(numticks=13, subs=range(1, 10)))
ax_abs_uh.yaxis.set_minor_formatter(NullFormatter())
for ax in (ax_abs_uh, ax_abs_hi, ax_abs_me, ax_abs_lo):
ax.set_ylabel('Absolute current density (a.u.)')
ax.set_xlabel('Overpotential (V)')
ax.set_xlim(-0.65, 0.65)
ax.legend()
ax_abs_uh.legend(loc=(0.7, 0.00))
fig_abs_uh.tight_layout()
fig_abs_uh.savefig('Plots/Current_Voltage_Curves_Abs_Uh_Model_7.pdf')
fig_abs_uh.savefig('Plots/Current_Voltage_Curves_Abs_Uh_Model_7.png')
fig_abs_hi.tight_layout()
fig_abs_hi.savefig('Plots/Current_Voltage_Curves_Abs_Hi_Model_7.pdf')
fig_abs_hi.savefig('Plots/Current_Voltage_Curves_Abs_Hi_Model_7.png')
fig_abs_me.tight_layout()
fig_abs_me.savefig('Plots/Current_Voltage_Curves_Abs_Me_Model_7.pdf')
fig_abs_me.savefig('Plots/Current_Voltage_Curves_Abs_Me_Model_7.png')
fig_abs_lo.tight_layout()
fig_abs_lo.savefig('Plots/Current_Voltage_Curves_Abs_Lo_Model_7.pdf')
fig_abs_lo.savefig('Plots/Current_Voltage_Curves_Abs_Lo_Model_7.png')
# ----------------------------------------------------------------------------------------------------------------------
fig_abs_co, ax_abs_co = subplots(nrows=2, ncols=2, figsize=(5.75, 5))
# Highest oxygen partial pressures
for i in (2300, 2200, 2100, 2000, 1900):
ax_abs_co[0, 0].plot(data['overpotential'][::50, i], abs(data['current'][::50, i]),
label='$10^{%d}$ bar' % log10(data['pressure'][1, i]))
for i in (2300, 2200, 2100, 2000, 1900):
ax_abs_co[0, 0].plot(data['overpotential'][:, i], abs(data['current'][:, i]), linestyle='-', marker='')
# High oxygen partial pressures
for i in (1800, 1700, 1600, 1500, 1400):
ax_abs_co[0, 1].plot(data['overpotential'][::50, i], abs(data['current'][::50, i]),
label='$10^{%d}$ bar' % log10(data['pressure'][1, i]))
for i in (1800, 1700, 1600, 1500, 1400):
ax_abs_co[0, 1].plot(data['overpotential'][:, i], abs(data['current'][:, i]), linestyle='-', marker='')
# Medium oxygen partial pressures
for i in (1300, 1200, 1100, 1000, 900):
ax_abs_co[1, 0].plot(data['overpotential'][::50, i], abs(data['current'][::50, i]),
label='$10^{%d}$ bar' % log10(data['pressure'][1, i]))
for i in (1300, 1200, 1100, 1000, 900):
ax_abs_co[1, 0].plot(data['overpotential'][:, i], abs(data['current'][:, i]), linestyle='-', marker='')
# Low oxygen partial pressures
for i in (800, 700, 600, 500, 400):
ax_abs_co[1, 1].plot(data['overpotential'][::50, i], abs(data['current'][::50, i]),
label='$10^{%d}$ bar' % log10(data['pressure'][1, i]))
for i in (800, 700, 600, 500, 400):
ax_abs_co[1, 1].plot(data['overpotential'][:, i], abs(data['current'][:, i]), linestyle='-', marker='')
semilog_slope(origin=(-0.1, 1e9), slope=-2*e/k/T, ax=ax_abs_co[0, 0], text=r'$-\frac{2e}{kT}$', size=12, inverted=False)
semilog_slope(origin=(-0.45, 1e6), slope=-1*e/k/T, ax=ax_abs_co[0, 0], text=r'$-\frac{e}{kT}$', size=12, inverted=True)
semilog_slope(origin=(0.3, 1e11), slope=2*e/k/T, ax=ax_abs_co[0, 0], text=r'$\frac{2e}{kT}$', size=12, inverted=True)
semilog_slope(origin=(-0.4, 1e2), slope=-1*e/k/T, ax=ax_abs_co[0, 1], text=r'$-\frac{e}{kT}$', size=12, inverted=True)
semilog_slope(origin=(0.3, 1e9), slope=2*e/k/T, ax=ax_abs_co[0, 1], text=r'$\frac{2e}{kT}$', size=12, inverted=True)
semilog_slope(origin=(0.5, 1e2), slope=2*e/k/T, ax=ax_abs_co[1, 0], text=r'$\frac{2e}{kT}$', size=12, inverted=False)
semilog_slope(origin=(0.2, 1e-2), slope=3*e/k/T, ax=ax_abs_co[1, 0], text=r'$\frac{3e}{kT}$', size=12, inverted=False)
semilog_slope(origin=(-0.45, 3e-2), slope=-1*e/k/T, ax=ax_abs_co[1, 0], text=r'$-\frac{e}{kT}$', size=12, inverted=True)
semilog_slope(origin=(0.25, 1e-5), slope=3*e/k/T, ax=ax_abs_co[1, 1], text=r'$\frac{3e}{kT}$', size=12, inverted=False)
semilog_slope(origin=(0.35, 1e4), slope=2*e/k/T, ax=ax_abs_co[1, 1], text=r'$\frac{2e}{kT}$', size=12, inverted=True)
semilog_slope(origin=(-0.3, 1e-6), slope=-1*e/k/T, ax=ax_abs_co[1, 1], text=r'$-\frac{e}{kT}$', size=12, inverted=True)
ax_abs_co[0, 0].set_yscale('log')
ax_abs_co[0, 1].set_yscale('log')
ax_abs_co[1, 0].set_yscale('log')
ax_abs_co[1, 1].set_yscale('log')
ax_abs_co[0, 0].set_title(r'(a) Very high $p_\mathrm{O_2}$', color='#006699')
ax_abs_co[0, 1].set_title(r'(b) High $p_\mathrm{O_2}$', color='#006699')
ax_abs_co[1, 0].set_title(r'(c) Medium $p_\mathrm{O_2}$', color='#006699')
ax_abs_co[1, 1].set_title(r'(d) Low $p_\mathrm{O_2}$', color='#006699')
ax_abs_co[0, 0].set_ylim(1e2, 1e14)
ax_abs_co[0, 1].set_ylim(1e-1, 1e11)
ax_abs_co[1, 0].set_ylim(1e-4, 1e8)
ax_abs_co[1, 1].set_ylim(1e-8, 1e6)
ax_abs_co[0, 0].yaxis.set_major_locator(LogLocator(numticks=14))
ax_abs_co[0, 0].yaxis.set_minor_locator(LogLocator(numticks=14, subs=range(1, 10)))
ax_abs_co[0, 0].yaxis.set_minor_formatter(NullFormatter())
ax_abs_co[0, 1].yaxis.set_major_locator(LogLocator(numticks=13))
ax_abs_co[0, 1].yaxis.set_minor_locator(LogLocator(numticks=13, subs=range(1, 10)))
ax_abs_co[0, 1].yaxis.set_minor_formatter(NullFormatter())
ax_abs_co[1, 0].yaxis.set_major_locator(LogLocator(numticks=13))
ax_abs_co[1, 0].yaxis.set_minor_locator(LogLocator(numticks=13, subs=range(1, 10)))
ax_abs_co[1, 0].yaxis.set_minor_formatter(NullFormatter())
ax_abs_co[1, 1].yaxis.set_major_locator(LogLocator(numticks=15))
ax_abs_co[1, 1].yaxis.set_minor_locator(LogLocator(numticks=15, subs=range(1, 10)))
ax_abs_co[1, 1].yaxis.set_minor_formatter(NullFormatter())
for ax in (ax_abs_co[0, 0], ax_abs_co[0, 1], ax_abs_co[1, 0], ax_abs_co[1, 1]):
ax.set_ylabel('Absolute current density (a.u.)')
ax.set_xlabel('Overpotential (V)')
ax.set_xlim(-0.65, 0.65)
ax.set_xlim(-0.65, 0.65)
ax.xaxis.set_major_locator(MultipleLocator(base=0.2))
ax.xaxis.set_minor_locator(MultipleLocator(base=0.05))
ax.legend()
for index, label in enumerate(ax.yaxis.get_ticklabels()):
if index % 2 != 1:
label.set_visible(False)
ax_abs_co[0, 0].legend(loc=(0.7, 0.0))
ax_abs_co[0, 1].legend(loc=(0.7, 0.0))
ax_abs_co[1, 0].legend(loc=(0.1, 0.60))
ax_abs_co[1, 1].legend(loc=(0.1, 0.60))
fig_abs_co.tight_layout()
fig_abs_co.savefig('Plots/Current_Voltage_Curves_Co_Model_7.pdf')
fig_abs_co.savefig('Plots/Current_Voltage_Curves_Co_Model_7.png')
fig_abs_co.savefig('Plots/Current_Voltage_Curves_Co_Model_7.tiff', dpi=300)
# ----------------------------------------------------------------------------------------------------------------------
show()
| [
"[email protected]"
] | |
1da5bc816ff092ff1efd02e934a8a810db7b83ba | f13acd0d707ea9ab0d2f2f010717b35adcee142f | /AtCoder_Virtual_Contest/20190105-ganariya2525/abc096/c.py | c0bd9f5ae1b4dfa37263a8c56a23310888195f2c | [
"CC0-1.0",
"LicenseRef-scancode-public-domain"
] | permissive | KATO-Hiro/AtCoder | 126b9fe89fa3a7cffcbd1c29d42394e7d02fa7c7 | bf43320bc1af606bfbd23c610b3432cddd1806b9 | refs/heads/master | 2023-08-18T20:06:42.876863 | 2023-08-17T23:45:21 | 2023-08-17T23:45:21 | 121,067,516 | 4 | 0 | CC0-1.0 | 2023-09-14T21:59:38 | 2018-02-11T00:32:45 | Python | UTF-8 | Python | false | false | 671 | py | # -*- coding: utf-8 -*-
def main():
h, w = map(int, input().split())
board = [list(input()) for _ in range(h)]
dx = [0, 0, -1, 1]
dy = [-1, 1, 0, 0]
for i in range(h):
for k in range(w):
if board[i][k] == '#':
count = 0
for m in range(4):
x = i + dx[m]
y = k + dy[m]
if 0 <= x < h and 0 <= y < w and board[x][y] == '#':
count += 1
if count == 0:
print('No')
exit()
print('Yes')
if __name__ == '__main__':
main()
| [
"[email protected]"
] | |
38e50d3f24f37b25e2e10924332a53123811847a | 49ba5356bdc5df7dd9803b56fe507c5164a90716 | /shortest-unsorted-continuous-subarray/solution.py | 68ff764fd997e9bff5e3f3237167c7e462af3c0e | [] | no_license | uxlsl/leetcode_practice | d80ad481c9d8ee71cce0f3c66e98446ced149635 | d8ed762d1005975f0de4f07760c9671195621c88 | refs/heads/master | 2021-04-25T18:12:28.136504 | 2020-03-11T07:54:15 | 2020-03-11T07:54:15 | 121,472,384 | 0 | 0 | null | null | null | null | UTF-8 | Python | false | false | 433 | py | class Solution(object):
def findUnsortedSubarray(self, nums):
"""
:type nums: List[int]
:rtype: int
"""
nums_s = sorted(nums)
i = 0
while i < len(nums) and nums_s[i] == nums[i]:
i += 1
j = len(nums) - 1
while 0 <= j and nums_s[j] == nums[j]:
j -= 1
if i < j:
return j - i + 1
else:
return 0
| [
"[email protected]"
] | |
06ab1173149ebf74e0df8962d78ccda462a2138a | 1d7eec692553afc411ec1e7325634f71a2aed291 | /backend/social_auth/urls.py | a8a59a7deeb00710a61c0465859ccf7d521cd772 | [] | no_license | Andy-Nkumane/Tilde | a41a2a65b3901b92263ae94d527de403f59a5caf | 80de97edaf99f4831ca8cb989b93e3be5e09fdd6 | refs/heads/develop | 2023-05-09T10:02:41.240517 | 2021-05-28T09:20:51 | 2021-05-28T09:20:51 | 299,501,586 | 0 | 0 | null | 2020-10-25T22:37:30 | 2020-09-29T04:10:48 | Python | UTF-8 | Python | false | false | 465 | py | from django.urls import path
from . import views
urlpatterns = [
path(
"github_oauth_start/",
views.authorize_github_start,
name="authorize_github_start",
),
path(
"github_oauth_callback/",
views.authorize_github_callback,
name="authorize_github_callback",
),
path(
"oauth_one_time_token_auth/",
views.oauth_one_time_token_auth,
name="oauth_one_time_token_auth",
),
]
| [
"[email protected]"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.