hqlcerrors.hpp 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634
  1. /*##############################################################################
  2. HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. ############################################################################## */
  13. #ifndef HQLCERRORS_HPP
  14. #define HQLCERRORS_HPP
  15. #include "jexcept.hpp"
  16. #include "hqlerrors.hpp"
  17. /* Code Generation errors - defined in hqlcerrors.hpp */
  18. #define ERR_CODEGEN_FIRST 4000
  19. #define ERR_CODEGEN_LAST 4999
  20. #define HQLERR_NullSetCannotGenerate 4000
  21. #define HQLERR_NoMultiDimIndex 4001
  22. #define HQLERR_AllPassedExternal 4002
  23. #define HQLERR_IndexAllSet 4003
  24. #define HQLERR_CannotInstantiateAll 4004
  25. #define HQLERR_TooManyParameters 4005
  26. #define HQLERR_ColumnUnknownLength 4006
  27. #define HQLERR_BuildIndexVarLength 4007
  28. #define HQLERR_BuildIndexVarLengthDs 4008
  29. #define HQLERR_BadTypeInIndex 4009
  30. #define HQLERR_IndexNotValid 4010
  31. #define HQLERR_JoinConditionNoMatchIndex 4011
  32. #define HQLERR_FilepositionInPersist 4012
  33. #define HQLERR_PersistValueDiffDefinition 4013
  34. #define HQLERR_LimitNeedsDataset 4014
  35. #define HQLERR_CannotResourceActivity 4015
  36. #define HQLERR_UnsupportedHashWorkunit 4016
  37. #define HQLERR_UnknownVirtualAttr 4017
  38. #define HQLERR_IllegalPattern 4018
  39. #define HQLERR_VarSizeSortUseThor 4020
  40. #define HQLERR_SubstringOutOfRange 4021
  41. #define HQLERR_RankOnNonList 4022
  42. #define HQLERR_CastInfiniteString 4023
  43. #define HQLERR_TooFewParameters 4024
  44. #define HQLERR_IndexTypeNotSupported 4025
  45. #define HQLERR_RankOnNull 4026
  46. #define HQLERR_MatchedUsedOutsideParse 4027
  47. #define HQLERR_BadMatchedPath 4028
  48. #define HQLERR_RoxieExpectedConstantFilename 4029
  49. #define HQLERR_MatchTextNotUnicode 4030
  50. #define HQLERR_MatchUnicodeNotText 4031
  51. #define HQLERR_MatchTextOrUnicode 4032
  52. #define HQLERR_ChildDatasetInOutput 4033
  53. #define HQLERR_DefineUseStrNotFound 4034
  54. #define HQLERR_DefineUseXYNotFound 4035
  55. #define HQLERR_DuplicateStoredDefinition 4036
  56. #define HQLERR_MismatchRowDiffType 4037
  57. #define HQLERR_FetchNotSupportMode 4038
  58. #define HQLERR_CounterNotValid 4039
  59. #define HQLERR_XmlTextNotValid 4040
  60. #define HQLERR_XmlUnicodeNotValid 4041
  61. #define HQLERR_MustMatchExactly 4042
  62. #define HQLERR_RowTooLarge 4043
  63. #define HQLERR_ShouldHaveBeenHoisted 4044
  64. #define HQLERR_NoArgumentsInValidator 4045
  65. #define HQLERR_FetchNonDiskfile 4046
  66. #define HQLERR_InputMergeNotSorted 4047
  67. #define HQLERR_TooComplicatedToPreload 4048
  68. #define HQLERR_KeyedNotKeyed 4049
  69. #define HQLERR_KeyedFollowsGap 4050
  70. #define HQLERR_WildFollowsGap 4051
  71. #define HQLERR_KeyedWildNoIndex 4052
  72. #define HQLERR_ZeroLengthIllegal 4053
  73. #define HQLERR_SetCastNotSupported 4054
  74. #define HQLERR_FuncNotInGlobalContext 4055
  75. #define HQLERR_SetUnknownLength 4056
  76. #define HQLERR_HashStoredTypeMismatch 4057
  77. #define HQLERR_CountAllSet 4058
  78. #define HQLERR_OnlyKeyFixedField 4059
  79. #define HQLERR_DuplicateStoredDiffType 4060
  80. #define HQLERR_RegexFeatureNotSupport 4061
  81. #define HQLERR_UnsupportedAttribute 4062
  82. #define HQLERR_GroupTableNotYetSupported 4063
  83. #define HQLERR_ChildQueriesNotSupported 4064
  84. #define HQLERR_HashStoredRecordMismatch 4066
  85. #define HQLERR_BadJoinConditionAtMost 4067
  86. #define HQLERR_BadKeyedJoinConditionAtMost 4068
  87. #define HQLERR_FullJoinNeedDataset 4069
  88. #define HQLERR_KeyedLimitNotKeyed 4071
  89. #define HQLERR_ExtendMismatch 4072
  90. #define HQLERR_DuplicateNameOutput 4073
  91. #define HQLERR_ExtendTypeMismatch 4074
  92. #define HQLERR_OverwriteMismatch 4075
  93. #define HQLERR_ExtendOverwriteMismatch 4076
  94. #define HQLERR_EmbeddedCppNotAllowed 4078
  95. #define HQLERR_FullKeyedNeedsFile 4081
  96. #define HQLERR_ExpectedConstant 4082
  97. #define HQLERR_AccessRowBlobInsideChildQuery 4083
  98. #define HQLERR_NoDatasetInCsvOutput 4084
  99. #define HQLERR_NoSetInCsvOutput 4085
  100. #define HQLERR_CouldNotDetermineMaxSize 4086
  101. #define HQLERR_CannotDetermineSizeVar 4087
  102. #define HQLERR_DuplicateDefinition 4088
  103. #define HQLERR_DuplicateDefinitionDiffType 4089
  104. #define HQLERR_WildNotReferenceIndex 4090
  105. #define HQLERR_InconsistentKeyedOpt 4091
  106. #define HQLERR_OptKeyedFollowsWild 4092
  107. #define HQLERR_KeyedCountCantNormalize 4093
  108. #define HQLERR_KeyedCountNotKeyed 4094
  109. #define HQLERR_KeyedCountNonKeyable 4095
  110. #define HQLERR_LookupNotActiveDataset 4096
  111. #define HQLERR_KeyedJoinTooComplex 4097
  112. #define HQLERR_KeyAccessNeedCast 4098
  113. #define HQLERR_KeyAccessNoKeyField 4099
  114. #define HQLERR_NotSupportedInsideNoThor 4102
  115. #define HQLERR_RegexNoTransformSupport 4103
  116. #define HQLERR_AccessMatchAttrInChildQuery 4104
  117. #define HQLERR_ExpectedTransformManyInputs 4105
  118. #define HQLERR_AmbiguousLeftRight 4106
  119. #define HQLERR_RhsKeyedNotKey 4107
  120. #define HQLERR_RemoteNoMeaning 4108
  121. #define HQLERR_RemoteGrouped 4109
  122. #define HQLERR_LibraryCannotContainWorkflow 4110
  123. #define HQLERR_LoopTooComplexForParallel 4111
  124. #define HQLERR_BadDfaOperator 4112
  125. #define HQLERR_MatchUtf8NotText 4113
  126. #define HQLERR_ThisNodeNotInsideAllNodes 4114
  127. #define HQLERR_SteppedNoJoin 4115
  128. #define HQLERR_UnsupportedRowsetRangeParam 4116
  129. #define HQLERR_CantProjectStepping 4117
  130. #define HQLERR_SteppedVariableSize 4118
  131. #define HQLERR_SteppedVariableOffset 4119
  132. #define HQLERR_TooComplexToStep 4120
  133. #define HQLERR_NoSteppingOnPayload 4121
  134. #define HQLERR_SteppedRangeOnlyOneDirection 4122
  135. #define HQLERR_SteppedMultiRange 4123
  136. #define HQLERR_SteppingNotMatchSortCondition 4124
  137. #define HQLERR_JoinNotMatchSortCondition 4125
  138. #define HQLERR_StepFieldNotKeyed 4126
  139. #define HQLERR_StepFieldNotContiguous 4127
  140. #define HQLERR_SortOrderMustMatchJoinFields 4128
  141. #define HQLERR_OrMultipleKeyfields 4129
  142. #define HQLERR_RowCompressRequireFixedSize 4130
  143. #define HQLERR_InputsAreTooComplexToUpdate 4131
  144. #define HQLERR_ThorDenormOnlyLeftOuterJoin 4132
  145. #define HQLERR_ThorDenormNoFeatureX 4133
  146. #define HQLERR_SkipNotValidHere 4134
  147. #define HQLERR_CsvNotSupportTableSet 4135
  148. #define HQLERR_ExpectedConstantWorkunit 4136
  149. #define HQLERR_ExpectedConstantDebug 4137
  150. #define HQLERR_LibraryMemberArgNotDefined 4138
  151. #define HQLERR_ConcreteMemberRequired 4139
  152. #define HQLERR_ThorHavingMustBeGrouped 4140
  153. #define HQLERR_XNotSupportedInsideChild 4141
  154. #define HQLERR_LibrariesCannotContainSideEffects 4142
  155. #define HQLERR_StarRangeOnlyInJoinCondition 4143
  156. #define HQLERR_KeyedDistributeNoSubstringJoin 4144
  157. #define HQLERR_MultipleStepped 4145
  158. #define HQLERR_RecursiveStored 4146
  159. #define HQLERR_RecursiveStoredOther 4146
  160. #define HQLERR_PipeNotAllowed 4147
  161. #define HQLERR_CannotDeduceNameDataset 4148
  162. #define HQLERR_ExpectedUpdateVariable 4149
  163. #define HQLERR_FailedToLoadSystemModule 4150
  164. #define HQLERR_RankOutOfRange 4152
  165. #define HQLERR_DatasetNotActive 4153
  166. #define HQLERR_CouldNotOpenTemplateXatY 4154
  167. #define HQLERR_CouldNotCreateOutputX 4155
  168. #define HQLERR_XDoesNotContainExpressionY 4156
  169. #define HQLERR_InvalidSetResultType 4157
  170. #define HQLERR_CouldNotFindDataset 4158
  171. #define HQLERR_CouldNotAnyDatasetX 4159
  172. #define HQLERR_NestedThorNodes 4160
  173. #define HQLERR_MissingTransformAssignXX 4161
  174. #define HQLERR_JoinXTooComplex 4162
  175. #define HQLERR_GlobalDedupFuzzy 4163
  176. #define HQLERR_GlobalDedupNoEquality 4164
  177. #define HQLERR_HashDedupNotSupportX 4165
  178. #define HQLERR_JoinSortedMustBeDataset 4166
  179. #define HQLERR_JoinSortedMustBeThor 4167
  180. #define HQLERR_SortAndCoSortConcurrent 4168
  181. #define HQLERR_WaitNotSupported 4169
  182. #define HQLERR_IndexHasActiveFields 4170
  183. #define HQLERR_GlobalHasActiveFields 4171
  184. #define HQLERR_ResourceCreateFailed 4172
  185. #define HQLERR_RecordNotCompatible 4173
  186. #define HQLERR_MissingTemplateTerminator 4174
  187. #define HQLERR_FailXUsedOutsideFailContext 4175
  188. #define HQLERR_GlobalSideEffectDependent 4176
  189. #define HQLERR_AggregateNeedMergeTransform 4177
  190. #define HQLERR_AggregateMissingGroupingFields 4178
  191. #define HQLERR_MaximumRowSizeOverflow 4179
  192. #define HQLERR_OpArgDependsDataset 4180
  193. #define HQLERR_CouldNotDetermineMinSize 4181
  194. #define HQLERR_OutsideGroupAggregate 4182
  195. #define HQLERR_ResourceAddAfterFinalManifest 4183
  196. #define HQLERR_SkipInsideCreateRow 4184
  197. #define HQLERR_KeyedJoinNoRightIndex_X 4185
  198. #define HQLERR_ScalarOutputWithinApply 4186
  199. #define HQLERR_EmbeddedTypeNotSupported_X 4187
  200. #define HQLERR_MaximumSizeLessThanMinimum_XY 4188
  201. #define HQLERR_UnexpectedOptionValue_XY 4189
  202. #define HQLERR_VariableRowMustBeLinked 4190
  203. #define HQLERR_UserCodeNotAllowed 4191
  204. #define HQLERR_StreamInputUsedDirectly 4192
  205. #define HQLERR_MaxlengthExceedsLimit 4193
  206. #define HQLERR_CouldNotGenerateDefault 4194
  207. #define HQLERR_DistributionVariableLengthX 4195
  208. #define HQLERR_DistributionUnsupportedTypeXX 4196
  209. #define HQLERR_InconsistentEmbedded 4197
  210. #define HQLERR_UnsupportedRowDiffType 4198
  211. #define HQLERR_EmbedParamNotSupportedInOptions 4199
  212. #define HQLERR_InvalidXmlnsPrefix 4200
  213. #define HQLERR_ConditionalAggregateVarOffset 4201
  214. #define HQLERR_AggregateDynamicOffset 4202
  215. #define HQLERR_ServiceDefinitionNotAllowed 4203
  216. #define HQLERR_BodyNotAllowedWithInline 4204
  217. #define HQLERR_DatasetPassedToRowArg 4205
  218. #define HQLERR_DedupBestWithKeepn 4206
  219. #define HQLERR_HashStoredDuplication 4207
  220. #define HQLERR_DatafileRequiresSigned 4208
  221. //Warnings....
  222. #define HQLWRN_PersistDataNotLikely 4500
  223. #define HQLWRN_CaseCanNeverMatch 4501
  224. #define HQLWRN_NoWorkflowNoWaitOrNotify 4502
  225. #define HQLWRN_NoWorkflowNoWhen 4503
  226. #define HQLWRN_NoWorkflowNoSuccess 4504
  227. #define HQLWRN_ScheduleOmitted 4505
  228. #define HQLWRN_UnknownEventName 4506
  229. #define HQLWRN_UnknownEventShortcut 4507
  230. #define HQLWRN_IgnoringWaitOrNotify 4508
  231. #define HQLWRN_CannotRecreateDistribution 4509
  232. #define HQLWRN_RecursiveDependendencies 4510
  233. #define HQLWRN_MaxSizeExceedsSafeLimit 4512
  234. #define HQLWRN_TomitaMatchPattern 4513
  235. #define HQLWRN_KeyedFollowsGap 4515
  236. #define HQLWRN_LocalHasNoEffect 4516
  237. #define HQLWRN_CsvMaxLengthMismatch 4517
  238. #define HQLWRN_KeyedFoldedToGap 4518
  239. #define HQLWRN_FoldRemoveKeyed 4519
  240. #define HQLWRN_GlobalDoesntSeemToBe 4520
  241. #define HQLWRN_GroupedJoinIsLookupJoin 4521
  242. #define HQLWRN_ImplicitJoinLimit 4522
  243. #define HQLWRN_ImplicitReadLimit 4523
  244. #define HQLWRN_ImplicitReadAddLimit 4524
  245. #define HQLWRN_LimitAlwaysExceeded 4525
  246. #define HQLWRN_LimitAlwaysExceededX 4526
  247. #define HQLWRN_KeyedLimitIsZero 4527
  248. #define HQLWRN_LimitIsZero 4528
  249. #define HQLWRN_MoxieNoBias 4529
  250. #define HQLWRN_ParseVeryLargeDefinition 4530
  251. #define HQLWRN_JoinConditionFoldedNowAll 4531
  252. #define HQLWRN_MergeBadSortOrder 4532
  253. #define HQLWRN_OutputDependendOnScope 4533
  254. #define HQLWRN_OptionSetToLate 4534
  255. #define HQLWRN_WorkflowSeemsToBeDependent 4535
  256. #define HQLWRN_GlobalSideEffectDependent 4536
  257. #define HQLWRN_GrammarIsAmbiguous 4537
  258. #define HQLWRN_ComplexHelperClass 4538
  259. #define HQLWRN_TryAddingIndependent 4539
  260. #define HQLWRN_GroupedGlobalFew 4540
  261. #define HQLWRN_AmbiguousRollupCondition 4541
  262. #define HQLWRN_AmbiguousRollupNoGroup 4542
  263. #define HQLWRN_GlobalActionDependendOnScope 4543
  264. #define HQLWRN_NoThorContextDependent 4544
  265. #define HQLWRN_OnlyLocalMergeJoin 4545
  266. #define HQLWRN_WorkflowDependParameter 4546
  267. #define HQLWRN_OutputScalarInsideChildQuery 4547
  268. #define HQLWRN_GlobalDatasetFromChildQuery 4548
  269. //Temporary errors
  270. #define HQLERR_OrderOnVarlengthStrings 4601
  271. #define HQLERR_DistributionNoSequence 4604
  272. #define HQLERR_PhysicalJoinTooComplex 4606
  273. #define HQLERR_ArbitaryRepeatUnimplemented 4609
  274. #define HQLERR_TomitaNoUnicode 4610
  275. #define HQLERR_TomitaPatternTooComplex 4611
  276. #define HQLERR_CannotCreateSizedChildDataset 4613
  277. #define HQLERR_OnlyNormalizeSimpleChildren 4614
  278. #define HQLERR_RoxieLocalNotSupported 4615
  279. #define HQLERR_MinusOnString 4616
  280. #define HQLERR_ThorNotSupportStepping 4617
  281. #define HQLERR_OnceCannotAccessStored 4618
  282. #define HQLERR_ThorCombineOnlyLocal 4619
  283. #define HQLERR_SteppedNotImplemented 4620
  284. //Internal errors....
  285. #define HQLERR_NoClearOnLocalDataset 4800
  286. #define HQLERR_NoCreateLocalDataset 4801
  287. #define HQLERR_TableOutsideThor 4802
  288. #define HQLERR_ExtraAssignInTransform 4803
  289. #define HQLERR_CannotAccessStoredVariable 4804
  290. #define HQLERR_EvaluateTableNotInScope 4805
  291. #define HQLERR_FuncNotFound 4806
  292. #define HQLERR_InternalOutputScalar 4807
  293. #define HQLERR_DfaTooComplex 4808
  294. #define HQLERR_UnsupportedInlineQuery 4809
  295. #define HQLERR_CouldNotResolveFileposition 4813
  296. #define HQLERR_CastXNotImplemented 4814
  297. #define HQLERR_MatchedContextNotFound 4815
  298. #define HQLERR_BlobTranslationContextNotFound 4816
  299. #define HQLERR_RowsUsedOutsideContext 4817
  300. #define HQLERR_ExpectedParentContext 4818
  301. #define HQLERR_CounterNotFound 4820
  302. #define HQLERR_GraphContextNotFound 4821
  303. #define HQLERR_InvalidAcessStoredVariable 4822
  304. #define HQLERR_LibraryNoWorkunitRead 4823
  305. #define HQLERR_LibraryNoWorkunitWrite 4824
  306. #define HQLERR_GraphInputAccessedChild 4825
  307. #define HQLERR_InconsisentLocalisation 4826
  308. #define HQLERR_NoParentExtract 4827
  309. #define HQLERR_LibraryMustBeFunctional 4828
  310. #define HQLERR_InconsistentNaryInput 4829
  311. #define HQLERR_LinkedDatasetNoContext 4830
  312. #define HQLERR_InternalError 4833
  313. #define HQLERR_CannotGenerateSerializedCompare 4834
  314. #define HQLERR_ReadSpillBeforeWrite 4835
  315. #define HQLERR_DependencyWithinGraph 4836
  316. #define HQLERR_UnknownCompoundAssign 4837
  317. #define HQLERR_ReadSpillBeforeWriteFix 4838
  318. #define HQLERR_AccessUnavailableGraph 4839
  319. #define HQLERR_NoMappingForField 4840
  320. #define HQLERR_InvalidMatchedPatternInJoin 4841
  321. //#define HQLERR_Max 4999
  322. //---- Text for all errors (make it easy to internationalise) ---------------------------
  323. #define HQLERR_NullSetCannotGenerate_Text "INTERNAL: Cannot generate code for an empty set in this context"
  324. #define HQLERR_NoMultiDimIndex_Text "Multi dimensioned sets are not yet supported"
  325. #define HQLERR_AllPassedExternal_Text "ALL cannot be passed to an external service"
  326. #define HQLERR_IndexAllSet_Text "Indexing ALL is undefined"
  327. #define HQLERR_CannotInstantiateAll_Text "Cannot use ALL in this context"
  328. #define HQLERR_TooManyParameters_Text "Too many parameters passed to function '%s'"
  329. #define HQLERR_ColumnUnknownLength_Text "Cannot define column %s with an unknown length (use alien datatype)"
  330. #define HQLERR_BuildIndexVarLength_Text "BUILDINDEX can only be used to build fixed width indexes"
  331. #define HQLERR_BuildIndexVarLengthDs_Text "BUILDINDEX can only be used to build indexes on fixed width files"
  332. #define HQLERR_BadTypeInIndex_Text "INDEX does not support fields of type %s"
  333. #define HQLERR_IndexNotValid_Text "INDEX does not match the dataset being joined"
  334. #define HQLERR_JoinConditionNoMatchIndex_Text "Join condition does not contain sufficient information to use key"
  335. #define HQLERR_FilepositionInPersist_Text "Not yet implemented: Cannot use a record structure containing a virtual field (%s) with stored or persist"
  336. #define HQLERR_PersistValueDiffDefinition_Text "%s has more than one definition"
  337. #define HQLERR_LimitNeedsDataset_Text "LIMIT clause can only be applied to a dataset"
  338. #define HQLERR_CannotResourceActivity_Text "Cannot resource activity %s a cluster with %d nodes"
  339. #define HQLERR_UnsupportedHashWorkunit_Text "Unsupported option #WORKUNIT ('%s')"
  340. #define HQLERR_UnknownVirtualAttr_Text "INTERNAL: Unsupported virtual attribute '%s'"
  341. #define HQLERR_IllegalPattern_Text "Illegal pattern '%s..%s'"
  342. #define HQLERR_VarSizeSortUseThor_Text "THOR must be used for sorting or joining datasets with variable width rows"
  343. #define HQLERR_SubstringOutOfRange_Text "Substring index %d is outside the field range"
  344. #define HQLERR_RankOnNonList_Text "RANK/RANKED not supported on %s"
  345. #define HQLERR_CastInfiniteString_Text "Cannot cast a string of unknown length to another character set"
  346. #define HQLERR_TooFewParameters_Text "Not enough parameters passed to function '%s'"
  347. #define HQLERR_IndexTypeNotSupported_Text "Index is not supported for type %s yet"
  348. #define HQLERR_RankOnNull_Text "RANK has no meaning on an empty list"
  349. #define HQLERR_MatchedUsedOutsideParse_Text "%s can only be used in a record supplied to a PARSE() command"
  350. #define HQLERR_InvalidMatchedPatternInJoin_Text "MATCHED parameter in JOIN/DENORMALIZE must refer to current LEFT or RIGHT"
  351. #define HQLERR_BadMatchedPath_Text "The parameter to MATCHED(%s) is not found in the pattern"
  352. #define HQLERR_RoxieExpectedConstantFilename_Text "Roxie requires constant filenames - expression %s cannot be computed at deployment time"
  353. #define HQLERR_MatchTextNotUnicode_Text "MATCHTEXT found where MATCHUNICODE was expected"
  354. #define HQLERR_MatchUnicodeNotText_Text "MATCHUNICODE found where MATCHTEXT was expected"
  355. #define HQLERR_MatchTextOrUnicode_Text "Only MATCHTEXT and MATCHUNICODE are valid inside a VALIDATE"
  356. #define HQLERR_ChildDatasetInOutput_Text "Records containing child datasets must be output to a file"
  357. #define HQLERR_DefineUseStrNotFound_Text "Definition of USE(%s) was not found"
  358. #define HQLERR_DefineUseXYNotFound_Text "Definition of USE(%s.%s) was not found"
  359. #define HQLERR_DuplicateStoredDefinition_Text "Duplicate definition of %s (use #stored to override default value)"
  360. #define HQLERR_MismatchRowDiffType_Text "ROWDIFF: Types are not compatible for field %s"
  361. #define HQLERR_FetchNotSupportMode_Text "FETCH not supported on dataset of kind %s"
  362. #define HQLERR_CounterNotValid_Text "COUNTER is not legal in this context"
  363. #define HQLERR_XmlTextNotValid_Text "XMLTEXT is only legal in a PARSE transform"
  364. #define HQLERR_XmlUnicodeNotValid_Text "XMLUNICODE is only legal inside a PARSE transform"
  365. #define HQLERR_MustMatchExactly_Text "Condition on DISTRIBUTE must match the key exactly"
  366. #define HQLERR_RowTooLarge_Text "Row size %u exceeds the maximum specified (%u)"
  367. #define HQLERR_ShouldHaveBeenHoisted_Text "Select expression should have been hoisted"
  368. #define HQLERR_NoArgumentsInValidator_Text "%s() cannot have a parameter inside a VALIDATE"
  369. #define HQLERR_FetchNonDiskfile_Text "First parameter of FETCH should be a disk file"
  370. #define HQLERR_InputMergeNotSorted_Text "Input to MERGE does not appear to be sorted"
  371. #define HQLERR_TooComplicatedToPreload_Text "Expression is too complicated to preload"
  372. #define HQLERR_KeyedNotKeyed_Text "KEYED(%s) could not be looked up in a key."
  373. #define HQLERR_KeyedFollowsGap_Text "KEYED(%s) follows unfiltered component %s in the key%s"
  374. #define HQLERR_WildFollowsGap_Text "WILD(%s) follows unfiltered component %s in the key%s"
  375. #define HQLERR_KeyedWildNoIndex_Text "%s could not be implemented by the key"
  376. #define HQLERR_ZeroLengthIllegal_Text "Cannot process zero length rows"
  377. #define HQLERR_SetCastNotSupported_Text "Set casts are not supported yet"
  378. #define HQLERR_FuncNotInGlobalContext_Text "Cannot call function %s in a non-global context"
  379. #define HQLERR_SetUnknownLength_Text "Sets of items of unknown length are not yet supported!"
  380. #define HQLERR_HashStoredTypeMismatch_Text "#STORED (%s) type mismatch (was '%s' replacement '%s')"
  381. #define HQLERR_CountAllSet_Text "Cannot count number of elements in ALL"
  382. #define HQLERR_OnlyKeyFixedField_Text "Can only key fixed fields at fixed offsets"
  383. #define HQLERR_DuplicateStoredDiffType_Text "Duplicate definition of %s with different type (use #stored to override default value)"
  384. #define HQLERR_RegexFeatureNotSupport_Text "Features are not supported by regex - did you mean repeat() instead of {}?"
  385. #define HQLERR_UnsupportedAttribute_Text "Option %s not yet supported on child datasets"
  386. #define HQLERR_GroupTableNotYetSupported_Text "Grouped tables not yet supported in this context"
  387. #define HQLERR_ChildQueriesNotSupported_Text "Nested child queries are not supported yet"
  388. #define HQLERR_HashStoredRecordMismatch_Text "#STORED (%s) records must match"
  389. #define HQLERR_BadJoinConditionAtMost_Text "ATMOST JOIN cannot be evaluated with this join condition%s"
  390. #define HQLERR_BadKeyedJoinConditionAtMost_Text "ATMOST JOIN cannot be evaluated with this join condition%s"
  391. #define HQLERR_FullJoinNeedDataset_Text "RIGHT for a full keyed join must be a disk based DATASET"
  392. #define HQLERR_KeyedLimitNotKeyed_Text "LIMIT(%s, KEYED) could not be merged into an index read"
  393. #define HQLERR_ExtendMismatch_Text "EXTEND is required on all outputs to NAMED(%s)"
  394. #define HQLERR_DuplicateNameOutput_Text "Duplicate output to NAMED(%s). EXTEND/OVERWRITE required"
  395. #define HQLERR_ExtendTypeMismatch_Text "OUTPUTs to NAMED(%s) have incompatible types"
  396. #define HQLERR_OverwriteMismatch_Text "OVERWRITE is required on all outputs to NAMED(%s)"
  397. #define HQLERR_ExtendOverwriteMismatch_Text "OVERWRITE/EXTEND should be consistent on all outputs to NAMED(%s)"
  398. #define HQLERR_EmbeddedCppNotAllowed_Text "Insufficient access rights to use embedded code"
  399. #define HQLERR_FullKeyedNeedsFile_Text "RIGHT side of a full keyed join must be a disk file"
  400. #define HQLERR_ExpectedConstant_Text "Expression is not constant: %s"
  401. #define HQLERR_AccessRowBlobInsideChildQuery_Text "Unimplemented: Cannot access row blob inside a child query, contact tech support"
  402. #define HQLERR_NoDatasetInCsvOutput_Text "Field '%s' with dataset type not supported in csv output"
  403. #define HQLERR_NoSetInCsvOutput_Text "Field '%s' with set type not supported in csv output"
  404. #define HQLERR_CouldNotDetermineMaxSize_Text "Cannot determine the maximum size of the expression"
  405. #define HQLERR_CannotDetermineSizeVar_Text "Cannot determine size because variable size dataset is not in scope. Try using sizeof(x,max)"
  406. #define HQLERR_DuplicateDefinition_Text "Duplicate definition of %s"
  407. #define HQLERR_DuplicateDefinitionDiffType_Text "Duplicate definition of %s with different type"
  408. #define HQLERR_WildNotReferenceIndex_Text "WILD() does not reference fields in key %s"
  409. #define HQLERR_InconsistentKeyedOpt_Text "Field %s cannot have both KEYED and KEYED,OPT conditions"
  410. #define HQLERR_OptKeyedFollowsWild_Text "KEYED(%s,OPT) follows a WILD() field in key %s"
  411. #define HQLERR_KeyedCountCantNormalize_Text "COUNT(,KEYED) cannot be used on a child dataset"
  412. #define HQLERR_KeyedCountNotKeyed_Text "Filter for COUNT(,KEYED) did not contained KEYED() expressions"
  413. #define HQLERR_KeyedCountNonKeyable_Text "KEYED COUNT used on a non-keyable dataset"
  414. #define HQLERR_LookupNotActiveDataset_Text "Attempting to lookup field %s in a dataset which has no active element"
  415. #define HQLERR_KeyedJoinTooComplex_Text "Key condition (%s) is too complex, it cannot be done with the key."
  416. #define HQLERR_KeyAccessNeedCast_Text "Key condition (%s) requires casts on comparison of field '%s'"
  417. #define HQLERR_KeyAccessNoKeyField_Text "Key condition (%s) does not have any comparisons against key fields"
  418. #define HQLERR_MinusOnString_Text "unary - cannot be performed on a string"
  419. #define HQLERR_NotSupportedInsideNoThor_Text "%s is not supported inside NOTHOR()"
  420. #define HQLERR_RegexNoTransformSupport_Text "Regular expression parsing does not support productions - need to use tomita"
  421. #define HQLERR_AccessMatchAttrInChildQuery_Text "Unimplemented: Cannot yet access $<n> inside a child query"
  422. #define HQLERR_ExpectedTransformManyInputs_Text "Ambiguous default production for rule with multiple inputs"
  423. #define HQLERR_AmbiguousLeftRight_Text "Selector %s is used ambiguously at multiple levels"
  424. #define HQLERR_RhsKeyedNotKey_Text "JOIN%s marked as KEYED does not have a key as the second parameter"
  425. #define HQLERR_RemoteNoMeaning_Text "ALLNODES(dataset) only legal in roxie and in thor child queries"
  426. #define HQLERR_RemoteGrouped_Text "ALLNODES() is not currently supported on grouped datasets"
  427. #define HQLERR_LibraryCannotContainWorkflow_Text "Library %s cannot contain any workflow actions%s"
  428. #define HQLERR_LoopTooComplexForParallel_Text "LOOP body too complicated to evaluate in parallel"
  429. #define HQLERR_BadDfaOperator_Text "Operator %s not supported inside DFAs"
  430. #define HQLERR_MatchUtf8NotText_Text "MATCHUTF8 found where MATCHUNICODE/MATCHTEXT was expected"
  431. #define HQLERR_ThisNodeNotInsideAllNodes_Text "THISNODE() can only be used inside ALLNODES()"
  432. #define HQLERR_SteppedNoJoin_Text "STEPPED(%s) cannot be evaluated in this context"
  433. #define HQLERR_UnsupportedRowsetRangeParam_Text "Parameter to RANGE() is too complex - not currently supported"
  434. #define HQLERR_CantProjectStepping_Text "Project of stepping fields is too complex"
  435. #define HQLERR_SteppedVariableSize_Text "Stepped field %s must have a fixed size"
  436. #define HQLERR_SteppedVariableOffset_Text "Stepped field %s must be at a fixed offset"
  437. #define HQLERR_TooComplexToStep_Text "Expression is too complex to STEP (%s)"
  438. #define HQLERR_NoSteppingOnPayload_Text "Cannot smart step on payload fields"
  439. #define HQLERR_SteppedRangeOnlyOneDirection_Text "STEPPED range condition could only be matched in one direction"
  440. #define HQLERR_SteppedMultiRange_Text "Multiple STEPPED comparisons %s >= "
  441. #define HQLERR_SteppingNotMatchSortCondition_Text "STEPPED condition is not compatible with the sort/merge condition (%s expected)"
  442. #define HQLERR_JoinNotMatchSortCondition_Text "JOIN condition is not compatible with the sort/merge condition"
  443. #define HQLERR_StepFieldNotKeyed_Text "STEPPED field %s is not keyed"
  444. #define HQLERR_StepFieldNotContiguous_Text "STEPPED field %s does not follow the previous stepped field"
  445. #define HQLERR_SortOrderMustMatchJoinFields_Text "Merge order must match all the stepped join fields"
  446. #define HQLERR_OrMultipleKeyfields_Text "Cannot OR together conditions on multiple key fields (%s)"
  447. #define HQLERR_RowCompressRequireFixedSize_Text "ROW compression can only be used on fixed size indexes"
  448. #define HQLERR_InputsAreTooComplexToUpdate_Text "UPDATE cannot be used when the inputs names are not globally constant"
  449. #define HQLERR_ThorDenormOnlyLeftOuterJoin_Text "THOR currently only supports LEFT OUTER denormalize"
  450. #define HQLERR_ThorDenormNoFeatureX_Text "THOR does not support DENORMALIZE(%s)"
  451. #define HQLERR_SkipNotValidHere_Text "SKIP cannot be used here. It is only valid directly with a transform"
  452. #define HQLERR_CsvNotSupportTableSet_Text "Cannot read tables/datasets from a csv file"
  453. #define HQLERR_ExpectedConstantWorkunit_Text "Argument %s to #workunit must be a constant"
  454. #define HQLERR_ExpectedConstantDebug_Text "Argument %s to #debug must be a constant"
  455. #define HQLERR_LibraryMustBeFunctional_Text "Queries libraries must be implemented with a parameterised module"
  456. #define HQLERR_LibraryMemberArgNotDefined_Text "Member %s not defined in module passed as library parameter"
  457. #define HQLERR_ConcreteMemberRequired_Text "Member %s was undefined in a module"
  458. #define HQLERR_ThorHavingMustBeGrouped_Text "Thor does not support HAVING on a non-grouped dataset"
  459. #define HQLERR_XNotSupportedInsideChild_Text "%s not currently supported as a child action"
  460. #define HQLERR_LibrariesCannotContainSideEffects_Text "Definitions in libraries cannot have side effects (%s)"
  461. #define HQLERR_MultipleStepped_Text "Index read only supports single STEPPED expression"
  462. #define HQLERR_RecursiveStored_Text "#%s (%s) creates an illegal recursive reference"
  463. #define HQLERR_RecursiveStoredOther_Text "#%s (%s) creates an illegal recursive reference (%s also being processed)"
  464. #define HQLERR_PipeNotAllowed_Text "Insufficient access rights to use PIPE"
  465. #define HQLERR_CannotDeduceNameDataset_Text "Parameter to __nameof__ must be a dataset or an index"
  466. #define HQLERR_ExpectedUpdateVariable_Text "Expected a UPDATE attribute name"
  467. #define HQLERR_FailedToLoadSystemModule_Text "%s @ %d:%d"
  468. #define HQLERR_RankOutOfRange_Text "Index in RANK/RANKED is out of range"
  469. #define HQLERR_DatasetNotActive_Text "INTERNAL: Dataset is not active: '%s'"
  470. #define HQLERR_CouldNotOpenTemplateXatY_Text "Could not open thor template '%s' at '%s'"
  471. #define HQLERR_CouldNotCreateOutputX_Text "Could not create output '%s'"
  472. #define HQLERR_XDoesNotContainExpressionY_Text "Dataset '%.80s' does not contain expression '%.50s'"
  473. #define HQLERR_InvalidSetResultType_Text "Cannot return a result of this type from a workunit"
  474. #define HQLERR_CouldNotFindDataset_Text "Could not find dataset %s"
  475. #define HQLERR_CouldNotAnyDatasetX_Text "Could not find dataset %s (no tables in scope)"
  476. #define HQLERR_NestedThorNodes_Text "INTERNAL: Thor nodes should not be nested"
  477. #define HQLERR_MissingTransformAssignXX_Text "INTERNAL: Missing assignment from transform to %s[%p]"
  478. #define HQLERR_JoinXTooComplex_Text "JOIN%s contains no equality conditions - use ,ALL to allow"
  479. #define HQLERR_GlobalDedupFuzzy_Text "A global DEDUP(ALL) or local hash dedup cannot include comparisons in the dedup criteria"
  480. #define HQLERR_GlobalDedupNoEquality_Text "Global dedup,ALL must have a field to partition"
  481. #define HQLERR_HashDedupNotSupportX_Text "Hash dedup does not support %s"
  482. #define HQLERR_JoinSortedMustBeDataset_Text "SORTED() used by JOINED must be applied to a DATASET"
  483. #define HQLERR_JoinSortedMustBeThor_Text "SORTED() used by JOINED must be applied to a THOR dataset"
  484. #define HQLERR_SortAndCoSortConcurrent_Text "SORT supplied to COSORT needs to be executed at the same time"
  485. #define HQLERR_WaitNotSupported_Text "WAIT not yet supported"
  486. #define HQLERR_IndexHasActiveFields_Text "Index has fields %s in scope"
  487. #define HQLERR_GlobalHasActiveFields_Text "Global dataset has fields %s in scope"
  488. #define HQLERR_ResourceCreateFailed_Text "Create resource library %s failed"
  489. #define HQLERR_RecordNotCompatible_Text "Records not assignment compatible"
  490. #define HQLERR_MissingTemplateTerminator_Text "Missing end of placeholder"
  491. #define HQLERR_FailXUsedOutsideFailContext_Text "%s can only be globally or inside ONFAIL or other failure processing"
  492. #define HQLERR_GlobalSideEffectDependent_Text "Side-effect%s is not currently supported as a context-dependent dependency"
  493. #define HQLERR_AggregateNeedMergeTransform_Text "Cannot deduce MERGE transform for global AGGREGATE"
  494. #define HQLERR_AggregateMissingGroupingFields_Text "AGGREGATE does not include grouping field '%s' in the result record"
  495. #define HQLERR_MaximumRowSizeOverflow_Text "The calculated maximum row size has overflowed 32bits"
  496. #define HQLERR_OpArgDependsDataset_Text "%s: %s cannot be dependent on the dataset"
  497. #define HQLERR_CouldNotDetermineMinSize_Text "Cannot determine the minimum size of the expression"
  498. #define HQLERR_OutsideGroupAggregate_Text "%s used outside of a TABLE aggregation"
  499. #define HQLERR_ResourceAddAfterFinalManifest_Text "%s resource added after manifest was finalized"
  500. #define HQLERR_SkipInsideCreateRow_Text "SKIP inside a ROW(<transform>) not supported. It is only allowed in a DATASET transform."
  501. #define HQLERR_ScalarOutputWithinApply_Text "A scalar output within an APPLY is undefined and may fail. Use OUTPUT(dataset,EXTEND) instead."
  502. #define HQLERR_KeyedJoinNoRightIndex_X_Text "Right dataset (%s) for a keyed join is not a key"
  503. #define HQLERR_EmbeddedTypeNotSupported_X_Text "Type %s not supported for embedded/external scripts"
  504. #define HQLERR_MaximumSizeLessThanMinimum_XY_Text "Maximum size (%u) for this record is lower than the minimum (%u)"
  505. #define HQLERR_UnexpectedOptionValue_XY_Text "Unexpected value for option %s: %s"
  506. #define HQLERR_VariableRowMustBeLinked_Text "External function '%s' cannot return a non-linked variable length row"
  507. #define HQLERR_UserCodeNotAllowed_Text "Workunit-supplied code is not permitted on this system"
  508. #define HQLERR_StreamInputUsedDirectly_Text "Library input used directly in a child query"
  509. #define HQLERR_UnsupportedRowDiffType_Text "ROWDIFF: Does not support type '%s' for field %s"
  510. #define HQLERR_EmbedParamNotSupportedInOptions_Text "Cannot use bound parameter in embed options - try adding a FUNCTION wrapper"
  511. #define HQLERR_InvalidXmlnsPrefix_Text "Invalid XMLNS prefix: %s"
  512. #define HQLERR_ConditionalAggregateVarOffset_Text "Conditional aggregate '%s' cannot follow a variable length field"
  513. #define HQLERR_AggregateDynamicOffset_Text "Aggregate assignment to '%s' cannot follow variable size aggregate"
  514. #define HQLERR_ServiceDefinitionNotAllowed_Text "Insufficient access rights to use SERVICE"
  515. #define HQLERR_BodyNotAllowedWithInline_Text "#body not supported with INLINE attribute"
  516. #define HQLERR_DatasetPassedToRowArg_Text "Cannot pass a dataset to row argument %s"
  517. #define HQLERR_DedupBestWithKeepn_Text "DEDUP with BEST does not support KEEP"
  518. #define HQLERR_HashStoredDuplication_Text "Inconsistent #%s(%s, %s) and #%s(%s, %s)"
  519. #define HQLERR_DatafileRequiresSigned_Text "Insufficient access rights to use datafiles"
  520. //Warnings.
  521. #define HQLWRN_CannotRecreateDistribution_Text "Cannot recreate the distribution for a persistent dataset"
  522. #define HQLWRN_RecursiveDependendencies_Text "Recursive filename dependency %s"
  523. #define HQLWRN_MaxSizeExceedsSafeLimit_Text "Maximum row size of %u exceeds the recommended maximum (%u)"
  524. #define HQLWRN_TomitaMatchPattern_Text "MATCHED(%s) will not work on a pattern"
  525. #define HQLWRN_KeyedFollowsGap_Text "keyed filter on %s follows unkeyed component %s in the key%s"
  526. #define HQLWRN_LocalHasNoEffect_Text "LOCAL(dataset) only has an effect in roxie and in thor child queries"
  527. #define HQLWRN_CsvMaxLengthMismatch_Text "CSV read: Max length of record (%d) exceeds the max length (%d) specified on the csv attribute"
  528. #define HQLWRN_KeyedFoldedToGap_Text "KEYED(%s) follows component %s which is always matched in the key%s"
  529. #define HQLWRN_FoldRemoveKeyed_Text "The key condition for field (%s) on key%s is always true"
  530. #define HQLWRN_GlobalDoesntSeemToBe_Text "Global expression%s appears to access a parent dataset - this may cause a dataset not active error"
  531. #define HQLWRN_GroupedJoinIsLookupJoin_Text "JOIN(,GROUPED) is implemented as a MANY LOOKUP join. This may be inefficient in thor."
  532. #define HQLWRN_ImplicitJoinLimit_Text "Implicit LIMIT(%d) added to keyed join%s"
  533. #define HQLWRN_ImplicitReadLimit_Text "Neither LIMIT() nor CHOOSEN() supplied for index read on %s"
  534. #define HQLWRN_ImplicitReadAddLimit_Text "Implicit LIMIT(%d) added to index read %s"
  535. #define HQLWRN_LimitAlwaysExceeded_Text "Limit is always exceeded"
  536. #define HQLWRN_LimitAlwaysExceededX_Text "Limit '%s' is always exceeded"
  537. #define HQLWRN_KeyedLimitIsZero_Text "Keyed Limit(0) will fail if there are any records, is this intended?"
  538. #define HQLWRN_LimitIsZero_Text "Limit(0) will fail if there are any records, is this intended?"
  539. #define HQLWRN_MoxieNoBias_Text "Key will not work on moxie, because cannot deduce bias from variable width base file. Need to add an explicit BIAS."
  540. #define HQLWRN_ParseVeryLargeDefinition_Text "PARSE pattern generates a large definition (%d bytes)"
  541. #define HQLWRN_JoinConditionFoldedNowAll_Text "JOIN condition folded to constant, converting to an ALL join"
  542. #define HQLWRN_MergeBadSortOrder_Text "MERGE() cannot recreated implicit sort order"
  543. #define HQLWRN_OutputDependendOnScope_Text "OUTPUT(%s) appears to be context dependent - this may cause a dataset not active error"
  544. #define HQLWRN_OptionSetToLate_Text "#option ('%s') will have no effect - it needs to be set in the submitted workunit."
  545. #define HQLWRN_WorkflowSeemsToBeDependent_Text "Workflow item%s seems to be context dependent"
  546. #define HQLWRN_GlobalSideEffectDependent_Text "Global side-effect%s seems to be context dependent - it may not function as expected"
  547. #define HQLWRN_GrammarIsAmbiguous_Text "The PARSE pattern for activity %d is ambiguous. This may reduce the efficiency of the PARSE."
  548. #define HQLWRN_ComplexHelperClass_Text "Activity %d created a complex helper class (%d)"
  549. #define HQLWRN_GroupedGlobalFew_Text "Global few expression is grouped"
  550. #define HQLWRN_AmbiguousRollupCondition_Text "ROLLUP condition on '%s' is also modified in the transform"
  551. #define HQLWRN_AmbiguousRollupNoGroup_Text "ROLLUP condition - no fields are preserved in the transform - not converted to GROUPed ROLLUP"
  552. #define HQLWRN_GlobalActionDependendOnScope_Text "Global action appears to be context dependent - this may cause a dataset not active error"
  553. #define HQLWRN_NoThorContextDependent_Text "NOTHOR expression%s appears to access a parent dataset - this may cause a dataset not active error"
  554. #define HQLWRN_OnlyLocalMergeJoin_Text "Only LOCAL versions of %s are currently supported on THOR"
  555. #define HQLWRN_WorkflowDependParameter_Text "Workflow action %s appears to be dependent upon a parameter"
  556. #define HQLWRN_OutputScalarInsideChildQuery_Text "Output(%s) of single value inside a child query has undefined behaviour"
  557. #define HQLWRN_GlobalDatasetFromChildQuery_Text "Global dataset expression (%s) is used in a child query"
  558. #define HQLERR_DistributionVariableLengthX_Text "DISTRIBUTION does not support variable length field '%s'"
  559. #define HQLERR_DistributionUnsupportedTypeXX_Text "DISTRIBUTION does not support field '%s' with type %s"
  560. #define HQLERR_InconsistentEmbedded_Text "Field '%s' is specified as embedded but child record requires link counting"
  561. #define HQLERR_OrderOnVarlengthStrings_Text "Rank/Ranked not supported on variable length strings"
  562. #define HQLERR_DistributionNoSequence_Text "DISTRIBUTION() only supported at the outer level"
  563. #define HQLERR_PhysicalJoinTooComplex_Text "Physical table join condition too complicated"
  564. #define HQLERR_ArbitaryRepeatUnimplemented_Text "Arbitrary repeats not yet supported!"
  565. #define HQLERR_TomitaNoUnicode_Text "Tomita does not yet support unicode"
  566. #define HQLERR_TomitaPatternTooComplex_Text "Patterns are too complicated for Tomita to handle at the moment [%s]"
  567. #define HQLERR_CannotCreateSizedChildDataset_Text "Cannot currently assign to DATASET(SIZEOF(x)) fields"
  568. #define HQLERR_OnlyNormalizeSimpleChildren_Text "Can only normalize simple child datasets - use other form if more complicated"
  569. #define HQLERR_RoxieLocalNotSupported_Text "ROXIE does not yet support local activities"
  570. #define HQLERR_ThorNotSupportStepping_Text "STEPPED is not currently supported by thor"
  571. #define HQLERR_StarRangeOnlyInJoinCondition_Text "string[n..*] syntax is only valid in a join condition"
  572. #define HQLERR_KeyedDistributeNoSubstringJoin_Text "Keyed distribute does not support join condition of the form field[n..*]"
  573. #define HQLERR_OnceCannotAccessStored_Text "ONCE workflow items cannot be dependent on other workflow items (including ONCE)"
  574. #define HQLERR_ThorCombineOnlyLocal_Text "Thor currently only supports the local version of COMBINE"
  575. #define HQLERR_SteppedNotImplemented_Text "STEPPED could not be merged into an index read activity"
  576. #define HQLERR_MaxlengthExceedsLimit_Text "MAXLENGTH(%u) for BUILD(index) exceeds the maximum of (%u)"
  577. #define HQLERR_NoClearOnLocalDataset_Text "INTERNAL: Clear not supported on LOCAL datasets"
  578. #define HQLERR_NoCreateLocalDataset_Text "INTERNAL: Local datasets cannot be created"
  579. #define HQLERR_TableOutsideThor_Text "INTERNAL: Attempt to access dataset outside of Thor"
  580. #define HQLERR_ExtraAssignInTransform_Text "INTERNAL: Not all Transform targets were assigned to [%s]"
  581. #define HQLERR_CannotAccessStoredVariable_Text "INTERNAL: Cannot access stored variable %s in this context"
  582. #define HQLERR_EvaluateTableNotInScope_Text "INTERNAL: Evaluate table is not in scope"
  583. #define HQLERR_FuncNotFound_Text "INTERNAL: Internal function %s not found"
  584. #define HQLERR_InternalOutputScalar_Text "INTERNAL: OUTPUT() on a scalar not processed correctly"
  585. #define HQLERR_DfaTooComplex_Text "INTERNAL: Expression too complex - cannot create a DFA"
  586. #define HQLERR_UnsupportedInlineQuery_Text "INTERNAL: Unsupported inline query"
  587. #define HQLERR_CouldNotResolveFileposition_Text "INTERNAL: Could not resolve file position"
  588. #define HQLERR_CastXNotImplemented_Text "INTERNAL: Cannot perform type cast from %s to %s"
  589. #define HQLERR_MatchedContextNotFound_Text "INTERNAL: Could not find context to evaluate match expression"
  590. #define HQLERR_BlobTranslationContextNotFound_Text "INTERNAL: Blob translation context not found"
  591. #define HQLERR_RowsUsedOutsideContext_Text "INTERNAL: ROWS can not be evaluated in this context"
  592. #define HQLERR_ExpectedParentContext_Text "INTERNAL: Expected a parent/container context. Likely to be caused by executing something invalid inside a NOTHOR."
  593. #define HQLERR_CounterNotFound_Text "INTERNAL: Could not resolve COUNTER for inline count project"
  594. #define HQLERR_GraphContextNotFound_Text "INTERNAL: Graph context not found"
  595. #define HQLERR_InvalidAcessStoredVariable_Text "INTERNAL: Accessing unserialized stored variable %s in slave context"
  596. #define HQLERR_LibraryNoWorkunitRead_Text "INTERNAL: Library '%s' should not access work unit temporary '%s'"
  597. #define HQLERR_LibraryNoWorkunitWrite_Text "INTERNAL: Library '%s' should not create work unit temporary '%s'"
  598. #define HQLERR_GraphInputAccessedChild_Text "INTERNAL: Attempting to access graph output directly from a child query"
  599. #define HQLERR_InconsisentLocalisation_Text "INTERNAL: Inconsistent activity localisation (child %d:graph %d)"
  600. #define HQLERR_NoParentExtract_Text "INTERNAL: No active parent extract - activity has incorrect localisation?"
  601. #define HQLERR_InconsistentNaryInput_Text "INTERNAL: Inputs to nary operation have inconsistent record structures"
  602. #define HQLERR_LinkedDatasetNoContext_Text "INTERNAL: Linked child rows required without legal context available"
  603. #define HQLERR_CannotGenerateSerializedCompare_Text "INTERNAL: Cannot generated serialized compare function"
  604. #define HQLERR_ReadSpillBeforeWrite_Text "INTERNAL: Attempt to read spill file %s before it is written"
  605. #define HQLERR_DependencyWithinGraph_Text "INTERNAL: Dependency within a graph incorrectly generated for hThor (%u)"
  606. #define HQLERR_UnknownCompoundAssign_Text "INTERNAL: Unrecognised compound assign %s"
  607. #define HQLERR_ReadSpillBeforeWriteFix_Text "INTERNAL: Attempt to read spill file %s before it is written. Try adding #option ('allowThroughSpill', false); to the query."
  608. #define HQLERR_CouldNotGenerateDefault_Text "INTERNAL: Could not generate default value for field %s"
  609. #define HQLERR_AccessUnavailableGraph_Text "INTERNAL: Attempt to access result from unavailable graph (%s)"
  610. #define HQLERR_NoMappingForField_Text "INTERNAL: Mapping for field %s is missing from transform"
  611. #define WARNINGAT(cat, e, x) reportWarning(cat, SeverityUnknown, e, x, x##_Text)
  612. #define WARNINGAT1(cat, e, x, a) reportWarning(cat, SeverityUnknown, e, x, x##_Text, a)
  613. #define WARNINGAT2(cat, e, x, a, b) reportWarning(cat, SeverityUnknown, e, x, x##_Text, a, b)
  614. #define WARNINGAT3(cat, e, x, a, b, c) reportWarning(cat, SeverityUnknown, e, x, x##_Text, a, b, c)
  615. #endif