Validate Filter in Expression Builder of a Join Node

Validating a filter query in the expression builder of a Join Node seems to take abnormally long.
I'm mining a star schema with 1 fact table (750million rows) and 4 dimension tables. The join node merges facts and dimensions on a subset of the data that is specified in the filter query. The query is pretty simple:
SUBSTR("L_PRESCRIBABLE_ITEM"."BNF_CODE" , 1,7 ) IN ('0601011','0601012')
AND "L_LAST_DAY_TIME"."CALENDAR_YEAR" = '2010'
When I press 'validate' it takes about 20 minutes to validate the syntax. When this completes successfully, when I press the OK button to get back to the Join Node, it seems to validate it for a second time, again taking about 20 minutes to complete.
Is this something to do with the validation doing its processing on the raw data (i.e. the 750m rows x 4 dimension tables), rather than simply validating the structure of the query syntax? If so why is it doing it twice (not inculding the time taken to actually run the node).
Cheers
Brad
Using Data Mining in SQL Developer 3.0.04

Hi Brad,
Actually the EA2 has an improvement but the final fix which uses strictly a parse validation, will be not be out till the next SQL Dev 3.1 release after EA2.
Thanks, Mark

Similar Messages

  • "Others Tab" disabled in Expression Builder

    I am tryng to create a very simple mapping with one source (Table) an Expresion Operator and a Target table. The problem I am facing is that the "Others Tab (Dropdown)" is coming as disabled in the Expression Builder. If any one can help me on this that will be really helpful for me !~
    Thanks
    Anish

    As well as using the transformation route it is possible to just type whatever you want here (within the context of the expression operator and the mode in which it will be executed). If you want to refer to attributes of the operate use the Inputs tab.
    It looks to be disabled in the expression operator but not in other operators such as filter, aggregator
    Cheers
    David

  • XPath Expression Builder Performance after Oracle FMW PS4 Upgrade

    Hi,
    Is there anyone out there on OFMW PS4 and facing performance issues with the BPEL Assign 'XPath Expression Builder'. We have a scenario where the BPEL process has to reference many schemas (arnd. 50+) from referenced Partner Link WSDLs and its own composite. The Expression Builder seems to be very very slow (takes minutes to load) as compared PS2 (only seconds).
    Are we alone on this one / anyone has any experience/fix/workaround?
    BTW,
    We've unchecked the "Validate" check box from SOA Preferences, still no luck.
    Regards,
    Srinath.

    Hi,
    Is there anyone out there on OFMW PS4 and facing performance issues with the BPEL Assign 'XPath Expression Builder'. We have a scenario where the BPEL process has to reference many schemas (arnd. 50+) from referenced Partner Link WSDLs and its own composite. The Expression Builder seems to be very very slow (takes minutes to load) as compared PS2 (only seconds).
    Are we alone on this one / anyone has any experience/fix/workaround?
    BTW,
    We've unchecked the "Validate" check box from SOA Preferences, still no luck.
    Regards,
    Srinath.

  • Expression Builder performance

    Is there anything that can be done about the Expression Builder performance? Whenever I need to make a change to an XPath expression I've got to wait 2-3 minutes for JDev to respond. Very irritating. I'm using 10.1.3.3.0 (Build 070615.0525)

    If you look at this document :
    http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28981/appx_deploydesc.htm
    and search for :
    xpathValidation
    "xpathValidation      Default value is True. If set to False, the compiler does not validate the XPath queries."
    maybe this is what you need.

  • Expression Builder - Anydata Cast Error - Encountered the symbol "("

    Hello
    I am using OWB 11 with Oracle 11 and am hitting an error on something I would think is super simple in expression builder!
    So I been reading around the forums and havent been able to figure out what is going on with my transformation
    I drag and dropped the transformation "Anydata Cast" onto my mapping
    I select the target type as "VARCHAR" for casting
    I drag and drop the source column and drop it over the auto generated "CAST_SOURCE" from INGRP1
    I then drag CAST_TARGET from the OUTGRP1 to my target
    I right click the ANYDATA_CAST transformation and click on "Output Attributes" and click on the "..." to open the expression builder
    Then I input the following code
    CAST( INGRP1.CAST_SOURCE AS VARCHAR(10))
    And hit validate
    I then hit the following error
    Line 1, Col 40:
    PLS-00103: Encountered the symbol "(" when expecting one of the following:
    Am I missing something in my code??
    I know this is really simple, but I really cant find what I am doing wrong??
    Thanks in advance

    Hello
    I am using OWB 11 with Oracle 11 and am hitting an error on something I would think is super simple in expression builder!
    So I been reading around the forums and havent been able to figure out what is going on with my transformation
    I drag and dropped the transformation "Anydata Cast" onto my mapping
    I select the target type as "VARCHAR" for casting
    I drag and drop the source column and drop it over the auto generated "CAST_SOURCE" from INGRP1
    I then drag CAST_TARGET from the OUTGRP1 to my target
    I right click the ANYDATA_CAST transformation and click on "Output Attributes" and click on the "..." to open the expression builder
    Then I input the following code
    CAST( INGRP1.CAST_SOURCE AS VARCHAR(10))
    And hit validate
    I then hit the following error
    Line 1, Col 40:
    PLS-00103: Encountered the symbol "(" when expecting one of the following:
    Am I missing something in my code??
    I know this is really simple, but I really cant find what I am doing wrong??
    Thanks in advance

  • Expression Builder: convert string to number

    Hi all,
    I'm having trouble building a field validation rule for bank account numbers.
    The numbers have 12 positions, so I cannot use a string or text number.
    The validation rule to be implemented is that the last two digits are calculated based on the first 10 (modulo 97).
    However, when I use the Mid function to pick the first characters, I am unable to do any calculations on it. Apparently, the string to number conversion doesn't work (it should work when I read the manual, as it says that when using an operator between two data types, the second type is converted to the first (cf. example of 1234+abcd (should result in 1234 as to the manual))). So I tried '1*Mid(...)' or '0+Mid(...)'. Syntactically the expression builder accepts it and I can save it. BUT when I change the particular value on the screen, it gives me an SSO error (not the Field Validation error message I entered).
    Why isn't there simply a function ToNumber (like ToChar)????? How could I workaround this?
    Any input very welcome!
    Frederik

    Apparently, I was a bit confused when typing the first sentence, it should be:
    The numbers have 12 positions, so I cannot use an integer or number data type, but have to use String.

  • Logical SQL about Expression Builder

    Dear all
    I am Michel.
    When I was always trouble,
    everyone will go to support this Forum, I am glad.
    I want to fix Logical SQL about Expression Builder of Oracle BI 11.1.1.3.
    In detail, Business each year, fiscal year you want to make is to display
    the beginning of the fiscal year of April 1, always, the data,
    "OUTPUT_DATE" from April until March the following year.
    Currently being output error is as follows.
    :[nQSError: 22020] Function Subtring ( argument 1) does not support non-text types. (HY000)
    I want to fix logical SQL is as follows.
    case when substring("app_support"."TABLE_NAME"."OUTPUT_DATE" from 4 for 5)
    in ('04','05','06','07','08','09','10','11','12')
    then Cast
         Concat
    Substring(
                   Cast(
                        "app_support"."TABLE_NAME"."OUTPUT_DATE" AS char
              FROM 4 for 8
         '04-01'
    AS DATE
    when substring("app_support"."TABLE_NAME"."OUTPUT_DATE" from 4 for 5)
    in ('01','02','03')
    then timestampadd(SQL_TSI_YEAR,-1,
         Cast
         Concat
              Substring(
                   Cast(
                       "app_support"."TABLE_NAME"."OUTPUT_DATE" AS char
                   FROM 4 for 8
              '04-01'
    AS DATE
    For reference, logical SQL follows,
    there is no error, and it is operating normally.
    Cast
         Concat(
              Substring(
                   Cast(
                        "app_support"."TABLE_NAME"."OUTPUT_DATE" AS char
              FROM 0 for 5
         '-01')
    AS DATE
    I will grad to reply message.
    Thanks and regards.

    Dear Fame and all
    Hello.Thanks you for reply.
    Hi,
    You Missed END key word in the statement.Sorry,I mistake copy & paste only.
    So,The problem is still not resolved.
    The following shows, that the error has been corrected in the first message.
    Dear all
    I am Michel.
    When I was always trouble,
    everyone will go to support this Forum, I am glad.
    I want to fix Logical SQL about Expression Builder of Oracle BI 11.1.1.3.
    In detail, Business each year, fiscal year you want to make is to display
    the beginning of the fiscal year of April 1, always, the data,
    "OUTPUT_DATE" from April until March the following year.
    Currently being output error is as follows.
    :[nQSError: 22020] Function Subtring ( argument 1) does not support non-text types. (HY000)
    I want to fix logical SQL is as follows.
    case when substring("app_support"."TABLE_NAME"."OUTPUT_DATE" from 4 for 5)
    in ('04','05','06','07','08','09','10','11','12')
    then Cast
    Concat
    Substring(
    Cast(
    "app_support"."TABLE_NAME"."OUTPUT_DATE" AS char
    FROM 4 for 8
    '04-01'
    AS DATE
    when substring("app_support"."TABLE_NAME"."OUTPUT_DATE" from 4 for 5)
    in ('01','02','03')
    then timestampadd(SQL_TSI_YEAR,-1,
    Cast
    Concat
    Substring(
    Cast(
        "app_support"."TABLE_NAME"."OUTPUT_DATE" AS char
    FROM 4 for 8
    '04-01'
    AS DATE
    end
    For reference, logical SQL follows,
    there is no error, and it is operating normally.
    Cast
    Concat(
    Substring(
    Cast(
    "app_support"."TABLE_NAME"."OUTPUT_DATE" AS char
    FROM 0 for 5
    '-01')
    AS DATE
    I will grad to reply message.
    Thanks and regards.

  • Using Decode in Expression Builder...

    Hi everybody,
    I want to use the DECODE function of SQL in an Expression Builder....
    Of course this function does not exist in any of the transformation categories(arithmetic,character,e.t.c.) in the expression builder.
    I have read in the OWB on-line help that in the Expression Builder there should be an 'Others' drop - down list in order to select any of the available SQL clauses - one of them is 'decode'...
    The problem is that this drop - down list in the Expression Builder is disabled.....
    How can I use this function anyway..????
    Instead of using ... in the Expression Builder...
    decode(<column_name>,'1','val_one','2','val_two') what can I use to do the same....???
    As regards the problem that the drop-down list is disabled , what may be the cause..???
    I use Microsoft XP machine , Oracle 10g (v.10.2) and OWB v.10.1.0.4
    The documentation says....
    "This allows you to deploy the DECODE functionality in all operating modes (setbased, rowbased, etc.) and transparently across Oracle database releases (8.1, 9.0 and 9.2)."
    The above means that the cause is the incompatibility..????
    Thanks , a lot
    Simon

    I am using OWB 9.2.0.8 and I can't reproduce the problem you are having with 10.1, but did you try just typing it into the expression?
    Or, better yet, use CASE. The syntax is easier to read. I think OWB translates DECODEs to CASE when the SQL is generated.
    (Case <column_name>
       When '1' Then 'val_one'
       When '2' Then 'val_two'
    End)

  • How to use SQL OVER and PARTITION BY in OBIEE Expression Builder??

    Hi there,
    I want to create a new logical coulmn with the following SQL query.
    SUM(Inventory Detail.Qty) OVER(PARTITION BY Inventory Detail.A,Inventory Detail.B,Item.C,Inventory Detail.D,MyDATE )/SUM(Inventory Detail.Qty) OVER(PARTITION BY Inventory Detail.A,Inventory Detail.B,Item.C )
    How to use the OVER and PARTITION BY in OBIEE Expression Builder??
    Thanks in Advance

    hi bipin,
    We cant use by in Expression builder(rpd) .But use the same formula like this in Fx of answers
    SUM(Inventory Detail.Qty) OVER(PARTITION BY Inventory Detail.A,Inventory Detail.B,Item.C,Inventory Detail.D,MyDATE )/SUM(Inventory Detail.Qty) >OVER(PARTITION BY Inventory Detail.A,Inventory Detail.B,Item.C )SUM(Inventory Detail.Qty by Detail,ITEM,Mydate)/SUM(qty by detail,item)
    First check the numerator whether it was giving correct results or not then go with denominator
    compare the results with sql that u have
    Let me know if that does work
    thanks,
    saichand.v
    Edited by: Saichand Varanasi on Jul 27, 2010 9:27 PM
    Edited by: Saichand Varanasi on Jul 27, 2010 9:28 PM

  • Checking for empty tags using expression builder for XPATH

    I am creating several filters in a mediator for several parallel paths. I am trying to route the mediator to the correct DB adapter based on what tags are empty in the incoming XML. The XML has 1 required tag and 3 optional. So for the expression, I am using the expression builder to load the tag name then putting either [text()] or [not(text())] immediately after each tag with an "and" in between for the 3 optional elements. The problem I am having is they always return false. For example, if I enter a value for an optional tag and put [text()] after it, it evaluates to false. What is the correct way to check if an element has text or not?
    Thanks in advance!

    Hi,
    Its not recognizing the getVariableData func... instead try this:
    string-length(xpath)>0
    ex: string-length($in.body/imp1:manoj/imp1:C1)>0
    It works... Happy deploying ... :)

  • How to use TRUNC function with dates in Expression Builder in OBIEE.

    Hi There,
    How to use TRUNC function with dates in Expression Builder in OBIEE.
    TRUNC (SYSDATE, 'MM') returns '07/01/2010' where sysdate is '07/15/2010' in SQL. I need to use the same thing in expression builder in BMM layer logical column.
    Thanks in advance

    use this instead:
    TIMESTAMPADD(SQL_TSI_DAY, ( DAYOFMONTH(CURRENT_DATE) * -1) + 1, CURRENT_DATE)

  • Using case statement in OWB expression builder

    Hi All,
    We are using OWB version 10.2.0.1.0. While using the below case statement We are getting the validation message as 'The expression is not properly formed'.
    Case statement used in expression builder:
    case when (INGRP1.CHARGETYPE in ('O','F') or INGRP1.TARIFF_GROUP in ('SMSINT','MMSINT')or ( INGRP1.CALL_TYPE = '002' and INGRP1.TARIFF_GROUP = 'MTV'))
    then
    (select call_zone_reltn_key from call_zone_reltn where
    call_zone_cd=substr(case
                   when substr( INGRP1.B_SUBNO,1,2)='00'
                   then
                   substr( INGRP1.B_SUBNO,3)
                   else substr( INGRP1.B_SUBNO,1)
                   end,1,length(call_zone_cd))and rownum=1)
    else -1
    end
    Kindly help me out in fixing this error or suggest any alternate way to use the above query in OWB expression builder.
    Thanks,
    Kabilan

    946887 wrote:
    Hi All,
    We are using OWB version 10.2.0.1.0. While using the below case statement We are getting the validation message as 'The expression is not properly formed'.
    Did you try to deploy the mapping ? Some time the expression validator gives wrong error messege.
    Try to deploy the mapping and see if you are still getting this issue
    Case statement used in expression builder:
    case when (INGRP1.CHARGETYPE in ('O','F') or INGRP1.TARIFF_GROUP in ('SMSINT','MMSINT')or ( INGRP1.CALL_TYPE = '002' and INGRP1.TARIFF_GROUP = 'MTV'))
    then
    (select call_zone_reltn_key from call_zone_reltn where
    call_zone_cd=substr(case
                   when substr( INGRP1.B_SUBNO,1,2)='00'
                   then
                   substr( INGRP1.B_SUBNO,3)
                   else substr( INGRP1.B_SUBNO,1)
                   end,1,length(call_zone_cd))and rownum=1)
    else -1
    end
    Kindly help me out in fixing this error or suggest any alternate way to use the above query in OWB expression builder.
    Thanks,
    Kabilan

  • Compare only DATE portion of a datetime field in Expression builder

    Hi! All,
    This may be a simple question, but I couldn't find the answer. I have a query where I want to say :
    Expression exp = exp1.get("startDateTime").equal(pDate);
    here pDate is a java.util.Date class with a time stamp.
    I wish to basically compare just the DATE portion of the value stored in the data base with only the DATE portion of "pDate" and ignore the time component.
    How do I do this in expression builder?
    By the way we are on Toplink 9.0.4.5
    Thanks

    There are a couple of ways to accomplish this. You could use between(beginningOfDay,endOfDay) where beginning of day is 12:00:00am on the date specified in pDate and end of day is 11:59:59pm on pDate. Or you could consider using a combination of dateName(), datePart(), and/or truncateDate() expressions to compare at the day, month, year level. I am not sure which would give you better performance, so you might need to do some testing to verify.
    In the first case, create beginningOfDay and endOfDay based upon the date housed in pDate. Then:
    Expression selectionCriteria = exp1.get("startDateTime").between(beginningOfDay,endOfDay);
    In the second case, there would be a little more code to write:
    Expression startDateTimeExp = exp1.get("startDateTime");
    Expression dayExp = startDateTimeExp.datePart("day");
    Expression monthExp = startDateTimeExp.datePart("month");
    Expression yearExp = startDateTimeExp.datePart("year");
    int desiredDay = get day of month from pDate;
    int desiredMonth = get month of year from pDate;
    int desiredYear = get year from pDate;
    Expression selectionCriteria = dayExp.equal(desiredDay).and(monthExp.equal(desiredMonth)).and(yearExp.equal(desiredYear));
    Check out the TopLink API docs on the Expression class for more details on what these Expression building methods do : http://download-west.oracle.com/docs/cd/B10464_05/web.904/b10491/index.html
    Hope that helps,
    Doug

  • Why is ADF Bindings node not displayed in Expression Builder window?

    Hello,
    I'm using Oracle JDeveloper Studio Edition Version 11.1.1.1.0, and I've created a Fusion Web Application and I've configured ADF Authentication and Security for my web project, using the provided wizard.
    On a certain page, I've placed a Go Link component, and I'm trying to edit the Text and Destination Property using EL Expressions. When I open the Expression Builder window all I can see are the following nodes: ADF Controller Objects, ADF Managed Beans, JSF Managed Beans and JSP Objects, but no ADF Bindings. I need to access the securityContext properties, and from what I've read in B31974-03, I need ADF Bindings.
    Also, I've tryied using the search field from the Expression Builder windows, without any luck.
    This is probably a newbie problem, but I really can't figure it out. Please help.
    Bogdan.

    Hi,
    maybe your problem is that you don't have created pageDef related with your page. Try right click on your page and Go To Page Definition. It will create the related pageDef if it does not exist.
    Hope this helps
    Joseba

  • Can multi-select picklist be used in Expression Builder?

    Does CRMOD allow the use of multi-slect picklist in Expression Builder within workflow?

    Thanks Suddu your process worked. This can be done it is just a little more manual than being able to select the field from the drop down list.
    To do this go to Admin, Application Customization, choose your record type, then Field Setup. Click on Rename Fields, then Advanced and copy the multi-select picklist field. Paste it into expression builder and at the end of the name add _ITAG. You will also need to add the brackets as well. Doing this will allow you to use a mspl in expression builder.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Ipod not recognized in itumes. please help!

    itunes will not recognize my ipod touch, i've tried almost everything.

  • How do I update AIP with Adobe Reader 11.0.03?

    What is the correct command line to upgrade an AIP that currently has 11.0.02 and needs to upgraded to 11.0.03?  I tried msiexec /a AcroRead.msi /p AdbeRdrUpd11003.msp but it gave an error about patch cannot be installed.  The AIP also contains a tra

  • Finacial statement report Comparison with Previous year in report painter

    Hi Experts, I am new to report Painter.I developed financial statement report in report painter with following data: Table: FAGLFLEXT Rows:GL Account Hierarchy(defined Manually) General data selection: Ledger Column 1: CCode,record type,version,perio

  • InDesign 5 Bold missing from Font Style

    In a previous project on the same Mac I used Palatino (TT) with Bold. On a new project the Bold option does not show as available in the drop down even though I am sure that the bold version of the font is available. Only Bold Italic and Italic show

  • Can I edit HD on Mac Book Pro with FCP X without CRASHING often?

      Model Name:                   MacBook Pro   Model Identifier:              MacBookPro8,3   Processor Name:               Intel Core i7   Processor Speed:                 2.5 GHz   Number of Processors:          1   Total Number of Cores:          4